MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install Azureus, so I installed the j2re rpm and now I want to extract the tar.bz2 file to /usr/lib/azureus but ark says it doesn't have permission.
Is it possible to extract thet from ark or must I use the console if so what's extract and path command?
1: you can graphically log in as root (type 'root' as username and at password your usual
password)
Now you should be able to do it with Ark.
(be very carefully with what you do when you are logged in as root, you can easily mess up
your system)
2: Start a terminal. Type 'su' -> enter your password (you won't see it).
go to the folder with the tar.bz2 file in it (with the 'cd' command. for example:
cd /home/myname)
type 'dir' or 'ls' to see a list of files in the current folder. If you see the file you want to extract
you're good.
Now to extract: type 'tar -xvjf nameofthefile.tar.bz2
When it's done, you should see a new folder with the name of the file in the place where you
extracted it. In that folder are the extracted files.
Originally posted by Error1312 There are two solutions for your problem:
1: you can graphically log in as root (type 'root' as username and at password your usual
password)
Now you should be able to do it with Ark.
(be very carefully with what you do when you are logged in as root, you can easily mess up
your system)
2: Start a terminal. Type 'su' -> enter your password (you won't see it).
go to the folder with the tar.bz2 file in it (with the 'cd' command. for example:
cd /home/myname)
type 'dir' or 'ls' to see a list of files in the current folder. If you see the file you want to extract
you're good.
Now to extract: type 'tar -xvjf nameofthefile.tar.bz2
When it's done, you should see a new folder with the name of the file in the place where you
extracted it. In that folder are the extracted files.
1. How do I graphically login as root? when I logout and log back in, the username is already selected and i can't change it.
2. now the tar file is in documents so if I tar -xvjf nameofthefile.tar.bz2 it will create a folder there but I need it to be in /usr/lib/ (is that the right place to install software btw)
Only had mdk for a couple of days now so i only did rpm installation until now.
It's strange that you can't change your username when you log in graphically. I haven't seen this before.
However, the second method should do fine. To install in /usr/lib you should copy the tar.bz2 file to that folder.
Again, open a terminal, log in as root, go to the folder where you have your file at the moment (probably /home/myname/Documents, like you've said) and type:
cp nameofthefile.tar.bz2 /usr/lib
Now you go to the folder /usr/lib and extract it there. The folder will now be created in /usr/lib
If it is the right place to install software, I don't know. Mostly I just keep my software in /home/myname. Sometimes it works, sometimes it doesn't, but if it doesn't I think it has more to do with me than with that folder.
when you extract any zipped file (tar, bz2, etc) if you want to unpack it to a particular directory, you can just use the --directory=(/path) switch. for example, if you want to extract to /usr/lib, you'd do this (from terminal as root)
tar -xvjf nameofpackage.tar.bz2 --directory=/usr/lib
it will then unpack it to /usr/lib. it's important to remember to be root to do that because normal users won't have write access to that directory.
to change your graphical login to show root as an option, go to KDE Kontrol Center->system->login manager, use the "administrator mode" button so you can make changes, then check out the "users" & "convenience" tabs to change login settings. click "apply" after changes have been made, then log out of KDE & restart it to see changes.
i'll give the perfunctory warning here, i guess................. while it's ok to have a root login option, you should really try to get used to the other ways of using root powers. using a terminal, typing su then the password & then using command line for various things. for instance, if you su to root in terminal & type konqueror (hit enter) konqueror file manager will open in superuser mode, giving you access to modify/delete/add any file or directory anywhere. also, getting acquainted with this method of root usage does away with the bothersome trouble of constantly having to logout/login to a root GUI.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.