Setting the PATH for TeX Live

After the package download is complete, the next step is to make sure that the system can properly find the files. If you set up your login scripts as recommended in The Bash Shell Startup Files, update the needed paths by appending to the extrapaths.sh script. The programs are always installed in an <ARCH>-linux subdirectory and on 32-bit x86 this is always i386-linux. For x86_64 and i?86 we can generate this as $TEXARCH:

export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&

cat >> /etc/profile.d/extrapaths.sh << EOF
pathappend /opt/texlive/2014/texmf-dist/doc/man  MANPATH
pathappend /opt/texlive/2014/texmf-dist/doc/info INFOPATH
pathappend /opt/texlive/2014/bin/$TEXARCH
EOF

unset TEXARCH

The new paths can be immediately activated by running source /etc/profile.

If you arrived here after installing the TeX Live binary and do not wish to build from source, your installation is now complete.

Alternatively, if this is a from-source build you can now install asymptote-2.32, biber-1.9 and xindy-2.5.1 if you wish.

Last updated on 2015-01-11 13:06:00 -0800