TeX Live and MacTeXtlmgr | Can't start it as Root user

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

tlmgr | Can't start it as Root user

Post by Montag »

Hello,
I have this output from my terminal:

Code: Select all

he@he-ThinkPad-T61:~$ tlmgr --gui
Laden der lokalen TeX Live Datenbank
Das kann einige Zeit dauern, bitte warten!
You don't have permission to change the installation in any way,
specifically, the directory /usr/local/texlive/2011/tlpkg/ is not writable.
Please run this program as administrator, or contact your local admin.
Fertig.
he@he-ThinkPad-T61:~$ cd /usr/local/texlive/2011/tlpkg
he@he-ThinkPad-T61:/usr/local/texlive/2011/tlpkg$ dir
backups    README   texlive.profile  texworks  tlpostcode
installer  TeXLive  texlive.tlpdb    tlpobj    translations
he@he-ThinkPad-T61:/usr/local/texlive/2011/tlpkg$ sudo tlmgr --gui
[sudo] password for he: 
sudo: tlmgr: command not found
he@he-ThinkPad-T61:/usr/local/texlive/2011/tlpkg$ 
My /etc/profile:

Code: Select all

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ -d /etc/profile.d ]; then

[...]
and so on ...
I guess this is the standard-ish part of this file
[...]
  fi
fi
[now the important part]
export PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH
I also did some research at first:
http://tex.stackexchange.com/questions/ ... how-to-fix
http://latex-community.org/forum/viewto ... 12&t=12817
... but those didn't help a lot.

Can someone please tell me what to do? I'm really confused about the whole thing. I am pretty sure I selected this symlinks-option thing for the installation process.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

tlmgr | Can't start it as Root user

Post by localghost »

What do you expect if you don't really start it as "root".

Code: Select all

sudo tlmgr --gui
You will be asked for your root password.


Thorsten
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

tlmgr | Can't start it as Root user

Post by Montag »

localghost wrote:What do you expect if you don't really start it as "root".

Code: Select all

sudo tlmgr --gui
You will be asked for your root password.
Yes, I know, but ... it is the one I type in on the Login screen, right?
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

tlmgr | Can't start it as Root user

Post by localghost »

Montag wrote:Yes, I know, but ... it is the one I type in on the Login screen, right?
Certainly not. You should have a root password and a user password. And beware of log-in as root!
Post Reply