TEX and LYX hint

Arthur H. Johnson II arthur at linuxbox.nu
Thu Jan 31 14:40:12 PST 2002


This is needed.  I chased my tail for six hours before I realized the
version I had, 1.0.7, was the wrong one.  Anyhoo, I included LyX with it
as well, since LyX will happily build and install without a good version
of TeX.


Arthur H. Johnson II
arthur at linuxbox.nu
The Linux Box
http://www.linuxbox.nu
-------------- next part --------------
TITLE:		Installation of TeX and LyX
LFS VERSION:	2.3.2 or better.	
AUTHOR:		Arthur H. Johnson II <arthur at linuxbox.nu>

SYNOPSIS:
	How to install TeX from source.  

HINT:
TeX can be almost trivial to install, once you have the right sources.  However
if you get the wrong sources, you will chase your tail for hours.  

We will be using the texk source from the TeX users group.  First, download the
following packages: 



1 PACKAGES
==========

a. Required from ftp://ftp.tug.org/tex/:

texk-7.2b.tar.bz2	An all-in-one source package for web2c plus the
			various drivers.  Does need the library packages.

texmflib-7.8.tar.bz2	A basic set of TFM's and other input files,
			arranged in Web2c's default installation hierarchy.


b. Required from ftp://ncmir.ucsd.edu/pub/xforms/linux-i386/elf/:

bxform-089-glibc2.1.tar.bz2	This is the toolkit in which LyX is built on. 



c. Required from ftp://ftp.lyx.org/pub/lyx/stable/:

lyx-1.1.6fix4.tar.bz2	This is the latest LyX at the time of writing.  This is
			a front-end to the TeX typesetting system.  Actually,
			its a front-end to LaTeX which is a front-end to TeX.
			It is not actually required for TeX or LaTeX.


d. Optional from ftp://tug.ctan.org/pub/tex/fonts:

You may want more than the fonts included with your texmflib distribution.  You
can find more here.



3 COMPILING AND INSTALLING TEX
==============================


a. Install the texmflib package into /usr/share:

cd /usr/share
tar jxvf /path/to/packages/texmflib-7.8.tar.bz2

This will add the support files to your already existing texmf directory
structure.


b.  Using the texk-7.2b.tar.bz2, compile and install TeX onto your system by
issueing the following commands:

./configure --prefix=/usr/ --datadir=/usr/share/
make 
make install



4 COMPILING AND INSTALLING LYX
==============================

a. Install XForms with the following commands:

make 
make install


b. Install LyX with the following commands:  

./configure --prefix=/usr/X11R6
make
make install


More information about the hints mailing list