Results 1 to 2 of 2
In order to use fakeroot, do you have to be logged in as root? I'm trying to install java and i get a command not found when doing it as ...
- 10-18-2005 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 10
fakeroot
In order to use fakeroot, do you have to be logged in as root? I'm trying to install java and i get a command not found when doing it as a regular user...do i need to add the command to some file?
- 10-19-2005 #2Just Joined!
- Join Date
- Aug 2003
- Location
- Sydney, Australia
- Posts
- 52
Re: fakeroot
Originally Posted by cometfly
Basically fakeroot provides a root emulation/smirf. It only allows you to do things that you would be able to do anyway as a normal use.
That does sound contradictory i know. But it isn't the same as being super-user.
The man page explains it better. If you are having problems, just go directly to super-user
]$ su
root-password
]#
Then do the install from there. You shouldn't need to build as root though.
And no, looging in as root or going to super-user would make fakeroot uneccessary anyway.
It's main use is for scripts that need a root emulation to do certain things, when given to them on the cli, if they are designed to accept it, it just makes life easier for the user in that context.
compile your java as a normal user, fakeroot may be changing your environment in a way that prevents the java compile to continue properly. As the install involves directory creation, possibly in /usr/bi, /usr/lib -=- then you will need root access to do those things.
The man page explains it better though
jm


Reply With Quote
