Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can I remove everything that is related to TeX Live from my Ubuntu 12.04? I first used the backport packages from ppa:texlive-backports/ppa and later the manual install via install-tl-unx.tar.gz. Somehow, everything screwed up, so I want to remove everything to start from scratch.

I want to get a recent TeX Live with Biber support and extended font support, i.e. support for Source Sans Pro.

What to do?

share|improve this question
how about rm -rf /usr/local/texlive/2012 and rm -rf ~/.texlive2012? – cmhughes Jan 26 at 20:00
For new versions, not from the official repository, consider installing on /opt. – Sigur Jan 26 at 20:04

2 Answers

I think you should

  1. remove all packages (via ubuntu's package manager and install-tl too)
  2. remove /usr/{,local}/share/texmf*
  3. remove texmf-releated things from /var/ (maybe /var/lib/texmf)
  4. remove /etc/texmf too
  5. your home directory: ~/.texlive

I think it's enough.

share|improve this answer

Try the following commands, one after another. If you progress, respective folders may already be deleted:

  1. sudo apt-get purge texlive*
  2. rm -rf /usr/local/texlive/2012 and rm -rf ~/.texlive2012
  3. rm -rf /usr/local/share/texmf
  4. rm -rf /var/lib/texmf
  5. rm -rf /etc/texmf
  6. rm -rf ~/.texlive
share|improve this answer
Thanks to uzsolt and kudos to @cmhughes. – Martin Betz Jan 26 at 22:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.