Install TeX Live 2016 on Ubuntu 16.04

On Ubuntu 14.04 I went through a fairly involved procedure to get the current TeX Live (TeX Live 2013 at that time) installed because it was not in the standard repository. However, it seems that there is now a much easier way to get TeX Live 2016: J Fernyhough has put together a TeX Live 2016 PPA – kudos to him!

update

2017, June The original ppa used in this post seems to be transitioning to TeX Live 2017, breaking my setup in the process. So, I will purge this ppa and try to install the TeX Live 2016 ppa. So, the two options are:

  1. If you are installing TeX Live 2016 for the first time on Ubuntu 16.04 and did not use the previous version of this post (see ‘historical reference’ below), use the first-time install section below.
  2. If you, like me, installed Tex Live using the ppa:jonathonf/texlive and are now having problems, use the switching to new ppa section.

first-time install

This section assumes you are doing a fresh install of Tex Live 2016 and have not used older install instructions. Be sure to have a good internet connection (the install is GBs) and type:

$ sudo add-apt-repository ppa:jonathonf/texlive-2016
$ sudo apt update
$ sudo apt install texlive-full

That should be it– a very complete and current install of TeX Live 2016 is installed.

switching to new ppa

This section assumes that you have previously installed TeX Live 2016 on Ubuntu 16.04 using ppa:jonathonf/texlive instead of the ppa used above– I did this in the original post– see the historical reference below. If that’s true, this is what I did to update:

purge ppa–

First, I will purge ppa:jonathonf/texlive following standard procedures–

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

This gave errors...hmm; unmet dependencies.

new ppa–

Install ppa:jonathonf/texlive-2016 as follows:

$ sudo add-apt-repository ppa:jonathonf/texlive-2016
$ sudo apt update
$ sudo apt install texlive-full

This still results in errors, but we can fix them as follows:

resolving errors–

Following the guidance in the error output, try a fix install:

$ sudo apt-get -f install

followed by

$ sudo apt-get update
$ sudo apt-get upgrade

This should fix the unmet dependencies issues and running an apt-get update should work without error.

Finally, try the install again:

$ sudo apt install texlive-full

and the install should proceed as normal– again, this is a large (GBs) install.

historical reference

Don’t do this, left for reference

Given this new PPA the install is very simple– just add the PPA, update and install following How to Install TeX Live 2016 in Ubuntu 16.04, 14.04. However, note that this is a huge install (GBs). So, make sure to do try this when you have access to a decent connection, and run the following at the terminal:

$ sudo add-apt-repository ppa:jonathonf/texlive
$ sudo apt update
$ sudo apt install texlive-full

That’s it! Much better than the manual procedure I used in the past.

Tags

api [1]   arduino [1]   audio [2]   audio features [1]   babel [1]   Bayesian [7]   Beta [1]   blog setup [1]   bootstrap [1]   bottleneck [1]   c++ [1]   caret [1]   cmpy [1]   conditional probability [6]   coursera [1]   coursera intro to data science [3]   css [1]   cython [1]   d3 [2]   decision trees [2]   diy [1]   dropbox [1]   dsp [1]   e1071 [1]   essentia [1]   garmin [1]   geojson [1]   ggplot2 [1]   gis [2]   git [1]   gnuplot [1]   graphs [1]   html5 [1]   igraph [1]   ipython [1]   javascript [7]   joint probability [6]   json [1]   LaTeX [2]   LDA [1]   Lea [2]   machine learning [3]   marginal probability [6]   matplotlib [1]   meteor [2]   mir [1]   MongoDB [3]   music [2]   my python setup [5]   my ubuntu setup [10]   mysql [3]   networks [1]   networkx [1]   nodejs [5]   npm [3]   numexpr [1]   numpy [1]   octave [1]   Open Oakland [2]   openpyxl [1]   pandas [3]   patsy [1]   pip [2]   pweave [1]   pygraphviz [1]   pymc [1]   PySoundFile [2]   python [15]   Python [1]   python 2.7 [5]   python 3.4 [2]   pyyaml [1]   qgis [1]   R [1]   randomForest [1]   restview [1]   resume [1]   rpart [1]   running [1]   scikit-learn [3]   scipy [1]   screen [1]   server setup [1]   shapefile [1]   social networks [1]   Socrata [1]   sound [2]   sphinx [1]   sql [4]   sqlite3 [1]   ssh [1]   ssh keys [1]   statsmodels [1]   supervised learning [2]   sympy [1]   tableau [1]   tinkerer [2]   topic models [1]   tree [1]   ubuntu 14.04 [13]   Ubuntu 14.04 [3]   ubuntu 16.04 [4]   vim [2]   virtualbox [1]   virtualenv [4]   virtualenvwrapper [3]   VPS [1]   vundle [1]   webpack [1]   yaml [1]