[Tex/LaTex] Migrating from Debian texlive to vanilla

installingtexlive

I had been using the native Debian texlive on Mint Linux for a time, with Texmaker.

Now I installed the "vanilla" texlive, in order to have a better package control with tlmgr. However, I believe I have to do something on Texmaker, or perhaps somewhere else, in order to recognize the new installation, because it isn't finding the new packages I just installed.

For example, after successfully running tlmgr install mathdesign, Texmaker (running pdflatex) will output:

! LaTeX Error: File `mathdesign.sty' not found. 

Best Answer

You stated that you added the path in /etc/profile. But did you add it to the FRONT or the BACK of the PATH element?

There is already a TeX system installed on your computer, so the kpsewhich you are using is the one shipped by Debian in /usr/bin, and not the one from Vanilla TeX Live.

Possible solutions:

  • add the TeX Live directory to the front of the path
  • install a texlive equivs packages and remove all the texlive-* packages with dpkg/apt-get/aptitude (see http://www.tug.org/texlive/debian.html at the end for that)
Related Question