Articles

TeX Live 2012 on Linux Mint Maya

In howto on Apr 5, 2014 by theoryl Tagged: , , , , , ,

Ubuntu 12.04 is distributed with a really old version of TeX Live: TeX Live 2009. Fortunately, TeX Live 2012 is available in Ubuntu 12.10 and is backported to 12.04 via a ppa (Thanks!). Since Linux Mint Maya is based on Ubuntu 12.04, it can install the TeX Live version provided by the PPA.

There are numerous answers of how to do that, such as: How do I install the latest TeX Live 2012? (askubuntu), Problems installing TeX Live 2012 on 12.04 (askubuntu), How to remove everything related to TeX Live for fresh install on Ubuntu? (stackexchange)

The following is what I did. If you have never installed TeX before, skip to the next section. Else, let’s uninstall the existing TeX so that you can make a clean installation:

sudo apt-get purge texlive*
# Some of the following might not apply
#sudo rm -rf /usr/local/texlive/2012/
sudo rm -rf /usr/share/texmf/
sudo rm -rf /usr/local/share/texmf/
sudo rm -rf /var/lib/texmf/
sudo rm -rf /var/lib/tex-common/
sudo rm -rf /etc/texmf/
#rm -rf ~/.texlive/
rm -rf ~/.texmf-var/
sudo apt-get purge tex-common
sudo apt-get autoremove
sudo apt-get autoclean

Now add the PPA to you system:

sudo add-apt-repository ppa:texlive-backports/ppa
sudo apt-get update

Now ready to install TeX Live 2012

sudo apt-get install texlive-full

To test whether it’s installed successfully, try calling tex. I got the following prompt:

This is TeX, Version 3.1415926 (TeX Live 2012/Debian)
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: