"tlmgr" on "Ubuntu 22.04"

peacecop kalmer: kalmer at test.tennis24.ee
Thu Jul 28 23:39:51 CEST 2022


You probably missed the part of my report that had it in already:

peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ 
PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH; export PATH
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ $PATH
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
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ 
MANPATH=/usr/local/texlive/2022/texmf-dist/doc/man:$MANPATH; export MANPATH
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ 
INFOPATH=/usr/local/texlive/2022/texmf-dist/doc/info:$INFOPATH; export 
INFOPATH
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ emacs ~/.profile
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ source ~/.profile

...


As you see, i the /2022/ version was installed, /PATH/ was renewed and 
still, it complains that the version is /2021/.

Your suggested command does the same thing.

Meanwhile, i did /sudo apt purge texlive-base/ and after that, even 
/TeXstudio/ can't compile anymore:

Error: Could not start the command: pdflatex -synctex=1 
-interaction=nonstopmode "texstudio_EqxrPp".tex

Using /tlmgr/ with full path works though:

peacecop at peacecop-HP-ProBook-4520s:~/.texlive2021/texmf-var$ sudo 
/usr/local/texlive/2022/bin/x86_64-linux/tlmgr install tex-locale
[sudo] password for peacecop:
tlmgr: package repository 
https://www.texlive.info/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: tex-locale

Should i run /TeXstudio/ as /sudo/ further on? Is that normal?

On 29.07.22 00:18, Max Chernoff wrote:
> I'm guessing that you missed this instruction in the installation
> output:
>
>> Most importantly, add /usr/local/texlive/2022/bin/x86_64-linux
>> to your PATH for current and future sessions.
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20220729/9e55d0ed/attachment.html>


More information about the tex-live mailing list.