Linux users help

Orlanth

The Cheeky One
Joined
Apr 12, 2001
Posts
17,860
I downloaded a program which is an rpm file, what program will run rpm files?
 
rpm is the redhat package manager. If you are using a Linux distribution that uses rpm, you can install the program by running "rpm -Uvh filename.rpm" as root user.
 
ClaudiusMaximus said:
rpm is the redhat package manager. If you are using a Linux distribution that uses rpm, you can install the program by running "rpm -Uvh filename.rpm" as root user.
I am running Mandrake 10. I set a root password, but it doesn't have root on the log on screen.
 
In a terminal you can type "su" to become root temporarily (within that terminal only), it will ask you for the root password. Then run the rpm command, and then type "exit" to stop being root.

It is not a good idea to log in as root, for security reasons - nearly everything you need to do as root can be done with su giving you temporary privileges.
 
It says no file or directory. Which I know there is.

Do I need to tell it the directory of the rpm file?
 
Orlanth said:
Do I need to tell it the directory of the rpm file?

Yes. If the rpm file was /home/orlanth/incoming/something.rpm you could run "rpm -Uvh /home/orlanth/incoming/something.rpm", or type the command "cd /home/orlanth/" before an "rpm -Uvh incoming/something.rpm" command. cd is change directory, paths starting with / are "absolute" path names, otherwise the path is a "relative" path from the current directory.
 
ClaudiusMaximus said:
Yes. If the rpm file was /home/orlanth/incoming/something.rpm you could run "rpm -Uvh /home/orlanth/incoming/something.rpm", or type the command "cd /home/orlanth/" before an "rpm -Uvh incoming/something.rpm" command. cd is change directory, paths starting with / are "absolute" path names, otherwise the path is a "relative" path from the current directory.
so, "cd /home/orlanth/Downloads/AMSN"?
 
Back
Top