5

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)
guntbert
  • 13,485

1 Answers1

4

Try

sudo apt-get purge texlive-*
sudo apt-get autoremove
sudo apt-get autoclean
OdinRW
  • 632
  • Thank you very much. I used autoremove before, but did not use autoclean. Now the problem has fixed! – user294996 Jun 19 '14 at 18:11
  • Glad I could help :) – OdinRW Jun 19 '14 at 18:35
  • For my first attempt to uninstall I tried running sudo apt purge texlive-* (on 20.04), as I thought the commands apt and apt-get were identical in the current context. However, apt returns "E: Unable to locate package texlive-\"*, while apt-get runs the uninstall normally. Any idea why apt-get works and apt not? – Pål Bjartan May 07 '20 at 14:09