Ubuntu – How to install the latest TeX Live 2012

latexsoftware installation

Ubuntu 12.04 still includes the outdated and obsolete 2009 version of TeX Live. Other than installing manually from the TeX Live website, is there any alternative to install the latest 2012 version on Ubuntu Precise 12.04?

Best Answer

TeX Live 2012 is available for 12.04 in an official "backports" PPA

TeX Live 2012 is scheduled for inclusion in the next Ubuntu release (Quantal 12.10). Meanwhile, Ubuntu's TeX Live maintainer, Jeremy Bicha, has created an official "backports" PPA to allow 12.04 users to easily install/upgrade to the new version.

To install/upgrade to TeX Live 2012:

  1. Open a terminal with Ctrl+Alt+T
  2. Add the texlive-backports PPA by typing the below (enter your password when prompted):

    sudo add-apt-repository ppa:texlive-backports/ppa
  3. Then type:

    sudo apt-get update
  4. Installation:

    • If you are installing TeX Live for the first time, type:

      sudo apt-get install texlive
    • If you already have TeX Live installed and are upgrading, type:

      sudo apt-get upgrade

      Warning: this will also upgrade all other packages on your Ubuntu system for which upgrades are available. If you do not wish to do this, please use the previous sudo apt-get install texlive instead.