Using the instructions from How to install vanilla texlive on debian or ubuntu I upgraded from texlive 2014 to texlive 2016 on my second laptop. I did this because I am using some more recent packages and I don't think they will work with texlive 2014.
Now I do not seem to have the ability to add anything to my tex tree, which in my case is located at:
/usr/local/texlive/2016/texmf-dist*
So after adding to my tex tree, I did sudo texhash
kpsewhich picks up the 2016 packages fine, but I do not seem to be able to add anything.
I also tried adding a directory ~/texmf putting the files in there and then doing texhash ~/texmf and still no joy.
sudo texhash produced:
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R-TEXLIVEDIST...
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
texhash: Updating /var/lib/texmf/ls-R...
Does anybody know what can be done to fix the situation? I would be mightily obliged to any kind person who might help me figure out a solution. Thanks.
Adding:
alias sudo='sudo env PATH=$PATH'
and then running mktexlsr as suggested in About texhash and proper installation of TeXlive had no effect (I logged out and logged in again)
texhashon your personal tree (~/texmf). You should never manually add to/usr/local/texlive/2016. However, the main problem here is that you also have a distro-installed version of TL installed and you need to remove it. – cfr Jul 16 '16 at 03:00texlivepackages installed by your Linux distro's package manager and install a 'dummy' package to keep it happy. – cfr Jul 16 '16 at 03:02texmftree. You should use your personal or local tree. But all of this is irrelevant given that you are using Ubuntu's packaged binaries. – cfr Jul 16 '16 at 03:10/usr/local/texlivewill have no effect whatsoever. – cfr Jul 16 '16 at 03:11sudo apt-get remove texliveremoved the 2013 version. Now it works. If you care to put it up as the answer I'll pick it. And thanks for being patient. Seems no dummy package was needed. – A Feldman Jul 16 '16 at 03:19texliveas a dependency. It is not at all wise to skip this step. – cfr Jul 16 '16 at 21:29gummiwhich I had to remove alongside of texlive 2013. Ok. Thanks. – A Feldman Jul 16 '16 at 23:10