LaTeX forum ⇒ 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
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

tlmgr | Can't start it as Root user

Postby Montag » Tue Oct 18, 2011 6:42 pm

Hello,
I have this output from my terminal:
  1. he@he-ThinkPad-T61:~$ tlmgr --gui
  2. Laden der lokalen TeX Live Datenbank
  3. Das kann einige Zeit dauern, bitte warten!
  4. You don't have permission to change the installation in any way,
  5. specifically, the directory /usr/local/texlive/2011/tlpkg/ is not writable.
  6. Please run this program as administrator, or contact your local admin.
  7. Fertig.
  8. he@he-ThinkPad-T61:~$ cd /usr/local/texlive/2011/tlpkg
  9. he@he-ThinkPad-T61:/usr/local/texlive/2011/tlpkg$ dir
  10. backups README texlive.profile texworks tlpostcode
  11. installer TeXLive texlive.tlpdb tlpobj translations
  12. he@he-ThinkPad-T61:/usr/local/texlive/2011/tlpkg$ sudo tlmgr --gui
  13. [sudo] password for he:
  14. sudo: tlmgr: command not found
  15. he@he-ThinkPad-T61:/usr/local/texlive/2011/tlpkg$

My /etc/profile:
  1. # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
  2. # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
  3.  
  4. if [ -d /etc/profile.d ]; then
  5.  
  6. [...]
  7. and so on ...
  8. I guess this is the standard-ish part of this file
  9. [...]
  10. fi
  11. fi
  12. [now the important part]
  13. export PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH
  14. export MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH
  15. 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

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Tue Oct 18, 2011 7:09 pm

What do you expect if you don't really start it as "root".
  1. 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

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby Montag » Tue Oct 18, 2011 7:21 pm

localghost wrote:What do you expect if you don't really start it as "root".
  1. 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

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Tue Oct 18, 2011 7:33 pm

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

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “TeX Live and MacTeX”

Who is online

Users browsing this forum: No registered users and 1 guest