Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to update my TeX Live 2009 to 2012. I want a fresh install and would like to remove TeX Live 2009 on my ubuntu. How should I remove TeX Live using my terminal?

share|improve this question
up vote 5 down vote accepted

To remove Tex Live, type the following in a console:

sudo apt-get remove texlive
share|improve this answer
It gives me "Package texlive is not installed, so not removed". But I am still able to compile my tex files using pdflatex command? – user27323 Oct 2 '12 at 23:19
Type sudo apt-cache search tex* then show us the resulting packages – LnxSlck Oct 2 '12 at 23:30
Ok. I did sudo apt-get remove texlive-* and not pdflatex doesn't work. Thanks – user27323 Oct 2 '12 at 23:36

For me, LnxSlck's solution seemed somehow insufficient. I then did a apt-get purge texlive-base (though not sure if I should have) and then apt-get autoclean and then I was totally texlive free.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.