According to the TeX Live website TeX Live 2014 was released one week ago (14 June 2014). How do I upgrade from TeX Live 2013 to TeX Live 2014 on Ubuntu 14.04 ?
This "netinstaller" is not a full download, but just a small executable and will download all packages from the internet based on the requirements you set later. For more information, see the install guide.
Extract it somewhere, e.g. in
mkdir ~/texlive/2014 cd ~/texlive/2014 tar -xf /path/to/install-tl-unx.tar.gz cd install-tl-20140831 # depends on your installer version, adjust to your situation
install-tlbinary with root privileges, e.g. (adjust to your situation):
Note: If you have a single-user machine, or don't have root privileges, I would recommend installing to your home directory instead (omit
sudoin the previous command). The reason is that commands like
tlmgr(see below) will not work out of the box if they are run with
sudo, see Setting TeX Live path for root for more information.
- Add the
-select-repositoryoption in order to select a CTAN mirror nearby before downloading anything.
- Add the
-gui=perltkoption to use a GUI installer. Install the
perl-tkpackage first! (
sudo apt-get install perl-tk) See the screenshot below how it should look like.
- Configure only specific collections by choosing the menu option C to save bandwidth and space. Be warned: the default set of 47 collections will yield more than 2GB of traffic and disk usage. You can always install more collections later with the TeXLive package manager (
tlmgr) and the
- Add the
Choose I for install in the menu. (If not in GUI mode)
It installs in
The installer output suggests to adjust some environment variables. Do so by editing your
~/.bashrcif you like) and add the following lines:
TEXDIR="/usr/local/texlive/2014" export PATH=$TEXDIR/bin/i386-linux:$PATH # for 32-bit installation export PATH=$TEXDIR/bin/x86_64-linux:$PATH # for 64-bit installation export INFOPATH=$INFOPATH:$TEXDIR/texmf-dist/doc/info export MANPATH=$MANPATH:$TEXDIR/texmf-dist/doc/man
Log out and log back in to receive the new variables, or, source the file, e.g.
source ~/.profileto activate it for your current shell. This last step should make sure your application actually use your new 2014 local TeXLive installation rather than the Ubuntu packaged one. Some tools will require you to configure that yourself, see for example this on TeXWorks.
Here's how the GUI installer looks like:
Finally, to install new packages you need to setup a Texlive package database (TLPDB). See this post for more information. In summary, you have to run:
sudo apt-get install xzdec sudo tlmgr init-usertree
then you can install a new package, for example, to install package
sudo env PATH="$PATH" tlmgr install wrapfig
or if you installed in your home directory, you can omit
tlmgr install wrapfig