Ubuntu – How to remove texlive 2009 on ubuntu 12.04

texliveuninstall

I installed texlive 2009 in my system by accident, and I have use every way I know to remove it. Did not work…

sudo apt-get remove texlive
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package texlive is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

but if type tex in the terminal…

tex 
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)

Best Answer

  • Try

    sudo apt-get purge texlive-*
    sudo apt-get autoremove
    sudo apt-get autoclean