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 ?
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 ?
Download the "netinstaller" for TeXLive
install-tl-unx.tar.gz
from any CTAN mirror, e.g. this one.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
~/texlive/2014
.Run the
install-tl
binary 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
sudo
in the previous command). The reason is that commands liketlmgr
(see below) will not work out of the box if they are run withsudo
, see Setting TeX Live path for root for more information.Optionally:
-select-repository
option in order to select a CTAN mirror nearby before downloading anything.-gui=perltk
option to use a GUI installer. Install theperl-tk
package first! (sudo apt-get install perl-tk
) See the screenshot below how it should look like.tlmgr
) and thecollection-
-prefixed meta-packages.Choose I for install in the menu. (If not in GUI mode)
It installs in
/usr/local/texlive/2014
by default.The installer output suggests to adjust some environment variables. Do so by editing your
~/.profile
(or~/.bashrc
if you like) and add the following lines:Log out and log back in to receive the new variables, or, source the file, e.g.
source ~/.profile
to 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:
then you can install a new package, for example, to install package
wrapfig
, run:or if you installed in your home directory, you can omit
sudo
: