Installation of TeX
TeX is installed slightly differently than a typical GNU
package, these instructions will assume /usr/src to be the current
working directory, containing the three TeX tar balls.
Install TeX by running the following commands:
mkdir -p /usr/share/texmf &&
tar zxvf teTeX-src-&tex-version;.tar.gz &&
cd teTeX-&tex-version; &&
gzip -dc ../teTeX-texmf-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xvf -)
If the optional texmf source code tar ball was downloaded, untar
it now:
gzip -dc ../teTeX-texmfsrc-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xvf -)
./configure --with-x=no --prefix=/usr \
--without-texinfo --with-system-ncurses --with-system-zlib \
--exec-prefix=/usr --bindir=/usr/bin &&
make world &&
texconfig dvips paper letter &&
texconfig font rw
LFS Systems prior to version 4.0 did not install zlib by default.
Remove the --with-system-zlib option from the above commands if you
do not have zlib installed.