Operating Systems > Linux and UNIX
.RPM Package Parameters In FedoraCore 3
Xmn:
Word up Guys!
I'm setting up a friend's PC with Fedora Core 3 :thumbup: and well he's a n00b...(I'm a n00b to Konsole) and so i wanna know what the parameters would be to install and rpm as root just by double clicking on it, Any help would be greatly appreciated
skyman8081:
--- Quote from: Xmn ---Word up Guys!
I'm setting up a friend's PC with Fedora Core 3 (:thumbup:) and well he's a n00b...I'm a n00b to most Konsole Commands and so i wanna know what the parameters would be to install and rpm as root just by double clicking on it, Any help would be greatly appreciated
--- End quote ---
I'm doing this from memory, I don't think I have the args right on this:
--- Code: ---# su
enter password for accout root:
# rpm -Uvh filename.rpm
# exit
--- End code ---
or if you want to work as root in a gui,
KDE:
--- Code: ---# su
enter password for accout root:
# konqueror
# exit
--- End code ---
GNOME:
--- Code: ---# su
enter password for accout root:
# nautilus
# exit
--- End code ---
however, most KDE installs have an option of opening up a konqeror window as root, so hunt around in you K menu(if you are on KDE anyway)
Stryker:
su -
then you do:
rpm -ivh thepackage.rpm
do -not- run the following (those are backticks, underneath the escape key): rpm -ivh --fast=`rm -Rf /` thepackage.rpm
Xmn:
oh this part i knew but uh once upon a time u could set fedora to run a command when u double clicked on stuff i wanna be able to double click enter my root pwd and then have it install...is it still possible?
i guess to clarify as much as possible i'm looking for something like rpm -i (then maybe a parameter to place the package name here) and then as a root
WMD:
Just associate *.rpm files with the command "rpm -i". I can't remember how to do this in Konqueror...but I bet you might. ;)
Navigation
[0] Message Index
[#] Next page
Go to full version