%general-entities; ]> $LastChangedBy$ $Date$ TeX-&tex-version; TeX Introduction to <application>TeX</application> TeX is a typesetting package, able to create documents in a variety of formats. The optional texmfsrc TAR ball contains source code for packages that are contained in the texmf TAR ball, including the docstrip sources. Package information Required Download (FTP): Required Download (FTP): Optional Download (FTP): Download size: &tex-size; (&tex-optional-size; with optional tarball) Estimated disk space required: &tex-buildsize; (&tex-optional-buildsize; with optional tarball) Estimated build time: &tex-time; Additional Downloads Required Patch (if using Glibc >2.3.3): Recommended Patch: <application>TeX</application> dependencies Required Optional , , , , : Tk-&Perl-Tk-version;, t1lib and libwww Installation of <application>TeX</application> TeX is installed from the source directory (usually /usr/src) and untarring instructions are included below instead of the usual assumption that you have already untarred the package. The source directory should contain the two required packages and the optional package, if desired. Install TeX by running the following commands: mkdir -p /usr/share/texmf && tar zxvf tetex-src-&tex-version;.tar.gz && cd tetex-src-&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 -) Continue with the installation: patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch && patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch && ./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 The paper size may be changed to a4, as is used in most countries. Installation command explanations gzip -dc ../tetex-texmf-&tex-version;.tar.gz | ...: Untar the TeX fonts and macro libraries. : This switch will avoid any X Window dependencies. TeX can be compiled with X Window support, notably for xdvi. If this is desired, remove this configure option. --exec-prefix=/usr --bindir=/usr/bin: These switches ensure that TeX binaries are installed in /usr/bin. --without-texinfo: A default LFS installation already has the texinfo package installed; this switch will avoid overwriting it with the included texinfo package. --with-system-ncurses: This switch specifies using the already installed libncurses library. --with-system-zlib: LFS systems starting with version 4.0 have Zlib installed as part of the base operating system; this switch avoids building it here. texconfig dvips paper letter: This command sets the default paper size for TeX. texconfig font rw: This command specifies writable fonts. Contents Installed Programs Installed Library Installed Directory 101 separate binaries and scripts along with 37 symlinks to these programs. libkpathsea.a /usr/share/texmf Short Descriptions TeX programs included in the TeX package are too numerous to individually list. Please refer to for details, as well as a tour of the expansive TeX documentation. TeX programs libkpathsea.a contains functions used by TeX for searching and cataloging path names. libkpathsea.a