Sunday, May 27, 2012

Install Tex Live 2011 in [X]Ubuntu

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[1], 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:

I'll describe the installation method with the collection ISO, because is the one I found to work better.

  1. First download the texlive2011.iso from a nearby: CTAN mirror.
  2. Mount the iso image using this command (adjust the path to iso):

    sudo mount -t iso9660 -o ro,loop,noauto /your/texlive2011.iso /mnt

  3. Still in the terminal, navigate to the mount point and run install-tl:

    cd /mnt && ./install-tl

  4. 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.
  5. 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!


CTAN package downgrade: teTeX obsolete
LaTeX at Ubuntu Documentation

No comments:

Post a Comment