<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>You probably missed the part of my report that had it in already:</p>
    <p><font color="#0038f4"><a class="moz-txt-link-abbreviated
          moz-txt-link-freetext"
          href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH; export PATH<br>
        <a class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        $PATH<br>
      </font><font color="#ff0000">bash:
/usr/local/texlive/2022/bin/x86_64-linux:/home/peacecop/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:
        No such file or directory<br>
      </font><font color="#0024ff"><a class="moz-txt-link-abbreviated
          moz-txt-link-freetext"
          href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        MANPATH=/usr/local/texlive/2022/texmf-dist/doc/<a
          class="moz-txt-link-freetext" href="man:$MANPATH">man:$MANPATH</a>;
        export MANPATH<br>
        <a class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        INFOPATH=/usr/local/texlive/2022/texmf-dist/doc/<a
          class="moz-txt-link-freetext" href="info:$INFOPATH">info:$INFOPATH</a>;
        export INFOPATH<br>
        <a class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        emacs ~/.profile <br>
        <a class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        source ~/.profile</font></p>
    <p><font color="#0024ff">...</font></p>
    <p><br>
      <font color="#0024ff">As you see, i the <i>2022</i> version was
        installed, <i>PATH</i> was renewed and still, it complains that
        the version is <i>2021</i>.</font></p>
    <p><font color="#0024ff"><font color="#000000">Your suggested
          command does the same thing.</font></font></p>
    <p><font color="#0024ff"><font color="#000000">Meanwhile, i did <i>sudo
            apt purge texlive-base</i> and after that, even <i>TeXstudio</i>
          can't compile anymore:</font></font></p>
    <p><font color="#0024ff"><font color="#000000">
        </font></font></p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font
        color="#ff0000">Error: Could not start the command: pdflatex
        -synctex=1 -interaction=nonstopmode "texstudio_EqxrPp".tex</font></p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">Using <i>tlmgr</i>
      with full path works though:</p>
    <p><font color="#0023ff"><a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:~/.texlive2021/texmf-var$">peacecop@peacecop-HP-ProBook-4520s:~/.texlive2021/texmf-var$</a>
        sudo /usr/local/texlive/2022/bin/x86_64-linux/tlmgr install
        tex-locale</font><br>
      <font color="#ff0000">[sudo] password for peacecop: <br>
        tlmgr: package repository
        <a class="moz-txt-link-freetext" href="https://www.texlive.info/CTAN/systems/texlive/tlnet">https://www.texlive.info/CTAN/systems/texlive/tlnet</a> (verified)<br>
        tlmgr install: package already present: tex-locale</font></p>
    <p>Should i run <i>TeXstudio</i> as <i>sudo</i> further on? Is
      that normal?<br>
      <font color="#0024ff"> </font></p>
    <div class="moz-cite-prefix">On 29.07.22 00:18, Max Chernoff wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:519d213bab49282aa7d0fc1fb4a594d67a1cdf11.camel@telus.net">
      <pre class="moz-quote-pre" wrap="">I'm guessing that you missed this instruction in the installation
output:

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Most importantly, add /usr/local/texlive/2022/bin/x86_64-linux
to your PATH for current and future sessions.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Try running

   echo 'export PATH="/usr/local/texlive/2022/bin/x86_64-linux:$PATH"' >> ~/.profile
   
to prepend the newly-installed TeX Live to your PATH.

-- Max

</pre>
    </blockquote>
  </body>
</html>