Featured Book

LaTeX Beginners Guide

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 4 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

tlmgr | Can't start it as Root user

Add tags Information and discussion about TeXLive distribution for all platforms; installation, administration; field reports

tlmgr | Can't start it as Root user

Postby Montag on Tue Oct 18th, 2011

Hello,
I have this output from my terminal:
Code: Select all  •  Open in writeLaTeX
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  •  Open in writeLaTeX
# /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/7609/texlive-installation-is-missing-tlmgr-how-to-fix
http://latex-community.org/forum/viewtopic.php?f=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
Montag
 
Posts: 340
Joined: Wed Jul 15th, 2009

Re: tlmgr | Can't start it as Root user

Postby localghost on Tue Oct 18th, 2011

What do you expect if you don't really start it as "root".
Code: Select all  •  Open in writeLaTeX
sudo tlmgr --gui

You will be asked for your root password.


Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: tlmgr | Can't start it as Root user

Postby Montag on Tue Oct 18th, 2011

localghost wrote:What do you expect if you don't really start it as "root".
Code: Select all  •  Open in writeLaTeX
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
Montag
 
Posts: 340
Joined: Wed Jul 15th, 2009

Re: tlmgr | Can't start it as Root user

Postby localghost on Tue Oct 18th, 2011

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!
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany


Return to TeXLive

Who is online

Users browsing this forum: No registered users and 4 guests