Installation of TeX
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 -)
patch -Np1 -i ../tetex-src-2.0.2-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.