Am 26.08.2017 um 09:26 schrieb Wolfgang Engelmann:


Am 25.08.2017 um 21:28 schrieb Kornel Benko:
Am Freitag, 25. August 2017 um 20:30:47, schrieb Wolfgang Engelmann <engelm...@uni-tuebingen.de>
Am 25.08.2017 um 19:15 schrieb Kornel Benko:
Am Freitag, 25. August 2017 um 16:09:14, schrieb Wolfgang Engelmann <engelm...@uni-tuebingen.de>
Am 25.08.2017 um 15:46 schrieb Kornel Benko:
Am Freitag, 25. August 2017 um 15:20:57, schrieb Wolfgang Engelmann <engelm...@uni-tuebingen.de>
I was too quick: The tlmgr is from an earlier texlive which is in
/usr/share/texlive2016.
How do I get the tlmgr from
/usr/local/texlive/2017/bin/x86_64-linux
working? Do I have to set a path? How? Which one?
sorra for silly questions, but I got stuck here
Wolfgang
Why don't you set your PATH so that "/usr/local/texlive/2017/bin/x86_64-linux" is before "/usr/bin"?

    Kornel
Isn't, what I have? >>
#paths for texlive2017
PATH=/usr/local/texlive/2017/bin/i386-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2017/texmf-dist/doc/man:$MANPATH; export MANPATH INFOPATH=/usr/local/texlive/2017/texmf-dist/doc/info:$INFOPATH; export
INFOPATH
Wolfgang
WRONG PATH, change "i386-linux" to "x86_64-linux"

If you do this, then what does
    # which tlmgr
or
    # where tlmgr
say?

Is /usr/local/texlive/2017/bin/x86_64-linux/tlmgr executable?

    Kornel
Thanks, Kornel, I have changed to what you wrote. How would I on the
command line change the rights for the tlmgr.pl, which are right now
user=root and group=root?
This is OK, if you installed as root (which you have apparently)

Unfortunately I have uninstalled the 2016 texlive and have no tlmgr
available
tlmgr is part of TL2017 as well.
Here:
    #which tlmgr
        /usr/local/texlive/2017/bin/x86_64-linux/tlmgr
    # ls -l /usr/local/texlive/2017/bin/x86_64-linux/tlmgr
~/Downloads$ which tlmgr
  >no response
Means that the PATH is not OK.
Check
    # ls -l /usr/local/texlive/2017/bin/x86_64-linux/tlmgr
lrwxrwxrwx 1 kornel kornel 41 nov 25 2016 /usr/local/texlive/2017/bin/x86_64-linux/tlmgr -> ../../texmf-dist/scripts/texlive/tlmgr.pl
    # ls -lL /usr/local/texlive/2017/bin/x86_64-linux/tlmgr
-rwxr-xr-x 1 kornel kornel 300762 júl 18 01:59 /usr/local/texlive/2017/bin/x86_64-linux/tlmgr

(I installed it as user kornel, so I am not forced to be root for instance for updates)

we@wolfgang-Mr-Whisper-Ultra-SSD-II:~/Downloads$ where tlmgr
bash: where: Kommando nicht gefunden.
Where is csh built-in command, sorry, try using csh or tcsh

I tried also ~/Downloads$ whereis tlmgr
tlmgr:
no further output.
Its a mess with me!
whereis does not respect PATH, so its output is not relevant.

Wolfgang
    Kornel
Thanks, Kornel, for your patience.
Here are the outputs; I see no difference to yours:
we@wolfgang-Mr-Whisper-Ultra-SSD-II:/usr/local$ which tlmgr
/usr/local/texlive/2017/bin/x86_64-linux/tlmgr
we@wolfgang-Mr-Whisper-Ultra-SSD-II:/usr/local$ ls -l /usr/local/texlive/2017/bin/x86_64-linux/tlmgr lrwxrwxrwx 1 root root 41 Nov 25 2016 /usr/local/texlive/2017/bin/x86_64-linux/tlmgr -> ../../texmf-dist/scripts/texlive/tlmgr.pl we@wolfgang-Mr-Whisper-Ultra-SSD-II:/usr/local$ ls -l /usr/local/texlive/2017/bin/x86_64-linux/tlmgr lrwxrwxrwx 1 root root 41 Nov 25 2016 /usr/local/texlive/2017/bin/x86_64-linux/tlmgr -> ../../texmf-dist/scripts/texlive/tlmgr.pl we@wolfgang-Mr-Whisper-Ultra-SSD-II:/usr/local$ ls -lL /usr/local/texlive/2017/bin/x86_64-linux/tlmgr -rwxr-xr-x 1 root root 299941 Mai 19 17:07 /usr/local/texlive/2017/bin/x86_64-linux/tlmgr
we@wolfgang-Mr-Whisper-Ultra-SSD-II:/usr/local$

where tlmgr
/usr/local/texlive/2017/bin/x86_64-linux/tlmgr
wolfgang-Mr-Whisper-Ultra-SSD-II:/usr/local/texlive/2017/texmf-dist/scripts

if I start as user
tlmgr gui
I get the menus but are told I have no rights and most of the selections are grayed out.
If I start as root, the command is not found.
# tlmgr gui
bash: tlmgr: Kommando nicht gefunden.

do I need different PATH settings for the root?

Confused: Wolfgang
I found under
----------------
https://askubuntu.com/questions/66498/setting-tex-live-path-for-root

What worked for me: I started |tlmgr| in gui mode with

|sudo env PATH="$PATH" tlmgr --gui |

and then in the third menu chose the last item but one (in my German menu, that is menu "Aktionen" (actions?) and item "Verwaltung der symbolischen Links" (administration of symbolic links?). In the ensuing dialogue window I clicked the button "Symbolische Links erneuern" (renew symbolic links?). Now

|sudo tlmgr --OPTIONS |

works without problems. I'm sure there's also a command line way of doing this ;)

-----------------------

and another note:

You really don't have to add the directory of |tlmgr| to the path. A simple quick solution is using |which|, e.g.:

|sudo $(which tlmgr) update --list -------------------- |

Reply via email to