LateX is a collection of many tools so a few LateX distributions were created to make it easier to find and installed them. For Linux there are two main distributions: Tex Live and teTeX. Since teTeX is declared obsolete, Tex Live is the better option.
Ubuntu 12.04 Precise Pangolin ships with the old Tex Live 2009. Below the installation process for the never version, Tex Live 2011, is described.
There are several ways of installing Tex Live:
- Get Tex Live on DVD (more information)
- Installing TeX Live over the Internet (more information)
- Downloading one huge ISO file (more information)
- Downloading several big tarballs (more information)
- Mirroring/downloading the TeX Live repository (more information)
- First download the texlive2011.iso from a nearby: CTAN mirror.
Mount the iso image using this command (adjust the path to iso):
sudo mount -t iso9660 -o ro,loop,noauto /your/texlive2011.iso /mnt
- Still in the terminal, navigate to the mount point and run install-tl:
cd /mnt && ./install-tl
- Now a menu will be presented with options to configure the installation. For example, use 'D' to change TEXDIR (installation directory), 'C' to select collections (if disk space is not a problem I advise to install them all) and 'L' to select language collections. Use 'I' to begin installation.
- When installation is completed, add the directory TEXDIR/bin/x86_64-linux to your PATH and that's it, Tex Live 2011 is now installed!
ReferencesCTAN package downgrade: teTeX obsolete
LaTeX at Ubuntu Documentation