I recently ran into a problem when compiling a doc, where latex indicated a missing package, while Ubuntu indicated that it was installed. The missing package in question is pst-node.sty but I think that's irrelevant.
All the packages in the compilation came from /usr/local/texlive/2013/texmf-dist/tex/latex/. Indeed, when I do
echo $PATH
the only tex-relevant path I get is
/usr/local/texlive/2013/bin/x86_64-linux
But kpsewhich pst-node.sty returns nothing. However:
$ locate pst-node.sty
/usr/share/texlive/texmf-dist/tex/latex/pst-node/pst-node.sty
And using Synaptic, I can indeed see that pst-node is installed, through the texlive-pstricks package.
My question: how can I have only one LaTeX distribution on my computer? I'm happy keeping the one managed by Ubuntu (for simplicity), as I do not need very fine-grained Latex package management.
tlmgrto install the PSTricks packages to your “vanilla” TeX Live; they are in the TeX Live/Debian but they are out of reach when you use the “vanilla” TeX Live programs. – egreg Aug 20 '14 at 09:22TeXLiveon Ubuntu, take a look at this recent question about where we try installingTeXLiveon Ubuntu and in turn refers to another three questions that discuss how to do a clean installation ofTeXLivesmoothly. I don't know if it's your case, but maybe this information will be useful. – Aradnix Aug 20 '14 at 15:12tlmgrwill no longer work. Thus you need to decide: remove TL2013 and go back to the Debian/Ubuntu-maintained version (which will usually be slightly out of date), or install TL2014 (which means triplication of things unless you remove other [parts of] installs. – jon Aug 20 '14 at 15:13