2

I downloaded and installed Tex Live 2015. Under /usr/local/texlive/2015. I updated also my path as follows:

PATH="/usr/local/texlive/2015/bin/x68_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

However when I run tex --version the following is displayed:

TeX 3.1415926 (TeX Live 2013/Debian)

How i can make it read my new installation?

This is some debug info:

$ kpsewhich plain.tex
/usr/share/texlive/texmf-dist/tex/plain/base/plain.tex

$ echo $PATH
/usr/local/texlive/2015/bin/x68_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

which tex does not list anything.

muru
  • 197,895
  • 55
  • 485
  • 740
curious
  • 183
  • 1
    How did you update the PATH? If you edited .profile, etc., did you re-login or source the changes? – muru Dec 27 '15 at 18:37
  • What do you mean how i updated? I edited the .bashrc file. I did not do anything with any .profile file. Should i create any?and put what? – curious Dec 27 '15 at 18:40
  • Ok, after editing .bashrc, did you open a new terminal, or run . .bashrc or source .bashrc? – muru Dec 27 '15 at 18:43
  • See also http://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-ubuntu and https://github.com/scottkosty/install-tl-ubuntu – Rmano Dec 27 '15 at 18:45
  • I opened a new terminal and nothing happend – curious Dec 27 '15 at 18:46
  • I have done all these from the relative question but nothing changed – curious Dec 27 '15 at 18:48
  • My cat/environment is set up correctly also to PATH="/usr/local/texlive/2015/bin/x68_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" – curious Dec 27 '15 at 18:51
  • echo $PATH /usr/local/texlive/2015/bin/x68_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games – curious Dec 27 '15 at 19:19
  • Add the result of which tex, kpsewhich plain.tex to your question, please. – Rmano Dec 27 '15 at 19:28
  • 1
    your result of kpsewhich plain.tex shows that your tex installation still points to the old one. Are you sure you have installed the new TeXLive in /usr/local and not in another place? What do you see if you do a ls /usr/local/texlive/2015/bin/x68_64-linux? (and please, add which tex also to the question). Read also all of http://tex.stackexchange.com/a/95373/38080, maybe there is some good hint there. – Rmano Dec 27 '15 at 19:36
  • ls /usr/local/texlive/2015/bin/x86_64-linux/ lists the full dir with the executables – curious Dec 27 '15 at 19:40
  • Why kpsewhich shows the old one?how i can change that? – curious Dec 27 '15 at 20:15

0 Answers0