0

I installed the new texlive 2022 distribution and removed the old 2021 texlive distribution with tlmgr uninstall --all (after verifying I was on the right distribution with tex version and it returned texlive 2021).

The 2022 distro installed successfully, but now I can’t make it work. I understand I have something to change in the .profile file and change the path and so on, which I did (see below), yet it still isn’t working.

My .profile file

PATH=/home/louisvgn/.local/share/applications/install-tl-20220418/1/bin/x86_64-linux:$PATH
export PATH
INFOPATH=/home/louisvgn/.local/share/applications/install-tl-20220418/1/texmf-dist/doc/info:$INFOPATH
export INFOPATH
MANPATH=/home/louisvgn/.local/share/applications/install-tl-20220418/1/texmf-dist/doc/man:$MANPATH
export MANPATH

PS: I installed the distribution in the same folder as the last one which is in ~/.local/share/applications

9
  • did you really install it under install-tl-20220418 ? that looks like the temporary install directory name, not the final install location, but impossible to tell from here, texlive will install wherever you specified. Also .profile edits have no effect until you next log in. Apr 18 at 17:22
  • I downloaded the the tar.gz file in the under ~/.local/share/applications and from there ran the install-tl file. Though I asked myself the same question, was it really installed here? I don’t know the technical answer, but I presumed it was since the TL 2021 was installed here and the path etc. in .profile were written the same but with the 2021 TL path…
    – Louis.vgn
    Apr 18 at 17:31
  • Also, I did re-login, I even rebooted. Plus, I just checked, but with the following command sudo find / -name install-tl-* it only finds occurrences in ~/.local/share/applications. So it must be there, and I’m certain the installation was successful.
    – Louis.vgn
    Apr 18 at 17:35
  • Did you install as root or as the louisvgn user? (You clearly have sudo access.) I'm not sure the installer itself is what you should be searching for. Does it install itself? I don't see why it would need to; tlmgr takes over from there. Try something like sudo find / -iname pdflatex.
    – frabjous
    Apr 18 at 17:53
  • It’s actually a Perl script… So I’m not sure sudo privileges are relevant here, is it? see : tug.org/texlive/doc/texlive-en/texlive-en.html#installation
    – Louis.vgn
    Apr 18 at 18:20

1 Answer 1

0

The solution was quite simple: you simply need to run the Perl script with sudo privileges, otherwise the installation won’t work on if you try to install it in /usr/share/etc. when the script takes you to the scheme page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.