2


I am using TexLive 2015 and I would like to move on to 2016 or even better 2017.
I read on internet that uninstalling and doing a fresh install is a better idea than upgrading TexLive, is it true?
Anyways I started looking for the ways to see how I can uninsntall TexLive from my ubuntu 16.04 LTS (64 bit) and I found this: Open the link
I had installed Texlive using terminal so the path is \usr\share\texlive and not \usr\local\texlive as suggested in the above link.
My question is to uninstall TexLive, is it necessary to go through all those steps?
If yes, the only change I need to make in those commands is changing the path from \usr\local\texlive to \usr\share\texlive or I should change something more?
Thanks

8
  • Which did you use to install it, apt or apt-get or custom build note all are via terminal! Dec 25, 2017 at 19:05
  • Best option use dpkg-query -L testlive to determine the files to remove Dec 25, 2017 at 19:14
  • @GeorgeUdosen , I used apt-get, how does that matter? asking out of curiosity.
    – Dude
    Dec 25, 2017 at 19:18
  • It matters because the method of install determines the method of removal, now please run whereis textlive so we know what files will be removed and adapt that link answer Dec 25, 2017 at 19:42
  • @GeorgeUdosen, here is the results for whereis texlive: \usr\share\texlive, as mentioned earlier. So now i just need to follow the instruction in the link using the path of my own?
    – Dude
    Dec 25, 2017 at 20:14

1 Answer 1

6

Well as it turns out, to do the job of removing TexLive, one simply needs to:

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

As suggested here
That's all!

2
  • That was enough to do a TinyTeX install without running into any errors, on Ubuntu 18.04. Cheers!
    – stragu
    Oct 25, 2018 at 2:46
  • if you get an error, try sudo apt-get purge "texlive-*" Jan 16, 2021 at 18:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .