Required: Download location (FTP): ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/tetex-src-2.0.2.tar.gz Download location (FTP): ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/tetex-texmf-2.0.2.tar.gz Optional: Download location (FTP): ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/tetex-texmfsrc-2.0.2.tar.gz Version used: 2.0.2 Package size: 52 MB Estimated Disk space required: 175 MB |
TeX is a typesetting package, able to create documents in a variety of formats. The optional texmfsrc tarball contains source code for packages that are contained in the texmf tarball, including the docstrip sources.
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 tarballs.
Install TeX by running the following commands:
mkdir -p /usr/share/texmf && tar zxvf tetex-src-2.0.2.tar.gz && cd tetex-src-2.0.2 && gzip -dc ../tetex-texmf-2.0.2.tar.gz \ | (umask 0; cd /usr/share/texmf; tar xvf -) |
If the optional texmf source code tarball was downloaded, untar it now:
gzip -dc ../tetex-texmfsrc-2.0.2.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 |
Note: 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.
gzip -dc ../teTeX-texmf-2.0.2.tar.gz \ | (umask 0; cd /usr/share/texmf; tar xvf -) |
--with-x=no : Avoid any X-Windows dependencies. TeX can be compiled with X-Windows support, notably for xdvi. If this is desired, remove this configure option.
--exec-prefix=/usr --bindir=/usr/bin : Insure that TeX binaries will be installed in /usr/bin.
--without-texinfo : A default LFS installation already has the texinfo package installed, we will avoid overwriting it with the included texinfo package.
--with-system-ncurses : Specify using the already installed ncurses library.
--with-system-zlib : LFS Systems starting with version 4.0 have zlib installed as part of the base operating system, we can avoid building it here.
texconfig dvips paper letter : Set the default paper size for TeX.
texconfig font rw : Specify writable fonts.
The TeX package contains 125 separate binaries. Please refer to file:///usr/share/texmf/doc/index.html for details, as well as a tour of the expansive TeX documentation.