1

I have downloaded install-tl-unx.tar.gz and run

sudo ./install-tl
sudo apt-get purge texlive-*
sudo apt-get autoremove
sudo apt-get autoclean

After compiling a .tex file, there is still TeX Live 2017/Debian in .log file.

  • 1
    You need to add the directory of your new installation to your PATH, MANPATH, and INFOPATH, in front of the system paths, in your .profile. – Davislor Mar 11 '21 at 18:01
  • The advice here should work for you. (I think it’s worth scrolling down to my answer, but I’m biased.) – Davislor Mar 11 '21 at 18:02
  • I am sorry, I do not understand what to do. I followed the procedure in the link and where should I add that commands, please? – Elena Greg Mar 11 '21 at 18:30
  • There are a couple of possible places, but one of the simplest is to save the commands to a file in /etc/profile.d/. For example /etc/profile.d/texlive.sh. You can see cfr’s answer to the question for another version. – Davislor Mar 11 '21 at 18:58
  • I cannot add the file with commands to /etc/profile.d – Elena Greg Mar 11 '21 at 20:19
  • note that if you get texlive from tug that is completely separate from the packages managed by apt, so typically you leave the system tex in place and just put the texlive 2020 bin directory at the front of your PATH – David Carlisle Mar 11 '21 at 20:31
  • @ElenaGreg That’s a system directory, so you would need to create and edit the file as root. – Davislor Mar 11 '21 at 22:45
  • Thank you and then, should I ran texlive.sh? It did not suceed. – Elena Greg Mar 16 '21 at 07:05

0 Answers0