The Tex Live included in Ubuntu 12.04 is very old (2009), and I would like to install the latest version to be able to edit the Ubuntu manual.

How do I do that from the terminal?

Hello, my name is Chris. I am a student pursuing a career in technical writing and I would like to assist the Ubuntu community while gaining experience & building my resume.

I need to install upstream version of TeX Live for 12.04 to edit the manual for Ubuntu. I am having a difficult time installing it per the directions @ http://ubuntu-manual.org/getinvolved/editors#install-texlive.

TeX Live documents are on my computer, but I am not able to run the install. No TeX Live program found on my computer. Any help is greatly appreciated! ~Thanx!~

Below I have listed the prior attempts & links to view the posts of each attempt:

  • Backports

I have tried using the official backports of the latest (2012) TeX-Live via their PPA. Please refer to link below for the particulars.

How do I install the latest TeX Live 2012?

  • Latex

I've also tried running Latex as suggested. Please refer to link below for the particulars.


  • PPA Causing Issue?? or something else

I came across a post concerning the ability to install programs via the terminal and am wondering if it may be my problem??? Please refer to link below for the particulars.

PPA - TeX Live

Cannot install anything through Terminal - apt-get -f install


1 Answer 1


The problem with installing texlive 2012 on Ubuntu Precise 12.04 is that if things go wrong there isn't a whole lot of information out there on how to adequately uninstall it. I think it's important to explicitly say uninstall to improve the search results of others. I finally came across a solution which worked for me with the help of LaTeX Users Group on Google Groups.

Link to LaTeX Users Group

sudo apt-get remove texlive*
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get autoclean
sudo apt-get check

sudo rm /var/lib/dpkg/info/texlive*.postrm
sudo rm /var/lib/dpkg/info/texlive*.list

sudo dpkg --purge --force-all texlive*
sudo dpkg --purge --force-all tex-common*

sudo apt-get install texlive-latex-base
sudo apt-get install texlive-latex-extra
sudo apt-get install texlive-full

This all assumes that you've added Backports repositories as described here

  • does texlive-full include the rest since its full?
    – themhz
    Commented Nov 27, 2012 at 0:50
  • I installed the packages and I do have latex in LibreOffice thank you
    – themhz
    Commented Nov 27, 2012 at 2:44
  • the rm and dpkg --purge are unnecessary if you do sudo apt-get remove --purge texlive* in the first place. So all that is needed are: 1. sudo apt-get remove --purge texlive*, 2. sudo apt-get autoremove and 3. sudo apt-get install texlive-full. Commented Jan 18, 2013 at 1:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .