Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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.