# Removing TeX Live

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?

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

``````sudo apt-get remove texlive
``````
• 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, 2012 at 23:19
• Type `sudo apt-cache search tex*` then show us the resulting packages Oct 2, 2012 at 23:30
• Ok. I did sudo apt-get remove texlive-* and not pdflatex doesn't work. Thanks
– user27323
Oct 2, 2012 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.