How to Install TeX Live 2016 in Ubuntu 16.04, 14.04

Tex Live 2016

Quick tutorial for those who want to install the latest TeX Live 2016 in Ubuntu 16.04 or Ubuntu 14.04 LTS via PPA.

What’s new in TeX Live 2016:

  • GNU Privacy Guard (GPG) is used for file verification for update security.
  • There are a lot of changes in LuaTeX backend.
  • pdfTeX and XeTeX got new primitives (fundamental commands).
  • MetaFont got experimental Lua integration.
  • MetaPost got bug fixes and was prepared for a new major version coming soon.
  • Some tools got updates, including the TeX Live Manager aka tlmgr.

Install TeX Live 2016 via PPA:

The latest packages has been made into the official Ubuntu repository for Ubuntu 16.10. For both Ubuntu 16.04 and 14.04 LTS, there’s a backport PPA to make it easy to install.

1. Open terminal (Ctrl+Alt+T) and run command to add the PPA:

sudo add-apt-repository ppa:jonathonf/texlive

Type in your password when it prompts and hit Enter.

Tex Live PPA

2. To upgrade from a previous release, launch Software Updater and you’ll see Tex Live packages available for upgrade after checking for updates.

Or run command to install or upgrade to Tex Live 2016:

sudo apt update && sudo apt install texlive-full

You may install a text editor for Tex Live, such as Kile, TeXMaker, JLatexEditor. The PPA contains an update version of TeXworks that can be installed via command:

sudo apt update && sudo apt install texworks

How to Restore:

It’s always easy to uninstall Tex Live 2016 and downgrade to the stock version in official Ubuntu repositories by running command:

sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/texlive

About ml

ml is a part time stay-at-home dad who've been using Ubuntu Desktop for a few years. He writes in the free time and wishes to share some useful tips with Ubuntu beginners and lovers.

One comment

  1. If you are using Ubuntu and working behind the proxy, you are most likely to encounter the following error “ERROR: ‘~jonathonf’ user or team does not exist” when you execute “sudo add-apt-repository ppa:jonathonf/texlive”. To resolve this issue follow these lines of execution:

    1) Fire up the terminal

    2) Export environment variable first using following commands
    export http_proxy=”https://usr:pass@proxy:port/
    export https_proxy=”https://usr:pass@proxy:port/

    3) Now add ppa with the following command
    sudo -E add-apt-repository ppa:jonathonf/texlive

    4) Install the Tex Live
    sudo apt-get install texlive-full