install-tl-ubuntu icon indicating copy to clipboard operation
install-tl-ubuntu copied to clipboard

How to uninstall tl-ubuntu?

Open priyadarshan opened this issue 8 years ago • 5 comments

I tried installing tl-ubuntu, and now I would like to remove it.

Is there an option in the script? Or else, which files and directories need to be manually removed? Which system files have been changed, and need to be changed back?

Thank you.

priyadarshan avatar Jan 01 '16 15:01 priyadarshan

There is no automatic way to uninstall. Next time I take a look at this script (in a few months), I will make an effort to document how one might manually uninstall.

scottkosty avatar Feb 09 '16 15:02 scottkosty

For a start,

  • remove /opt/texbin from /etc/environment
  • rm -rf /opt/texbin
  • apt-get remove texlive-local

not sure this is all but I hope this helps.

gadmm avatar May 12 '16 18:05 gadmm

@gadmm thank you for that, but I've only managed to free 54MB following your instructions.. is there anything else you might suggest to completely uninstall this? thanks.

EDIT: Just realised you can sudo apt-get purge texlive and then sudo apt-get autoremove and also sudo apt-get clean and it helps a lot

brecke avatar Jul 08 '16 16:07 brecke

@brecke what does the following command show to you?

du -sh /usr/local/texlive/

scottkosty avatar Jul 08 '16 18:07 scottkosty

Thanks for the tip, I just removed it :)

brecke avatar Jul 11 '16 09:07 brecke