How to install an RPM (Redhat Package Manager) file.
This will tell you how to do the basic install of .RPM files, to get more information on RPMs read the manual page for 'rpm'.
An RPM is a file in most cases containing all the files needed for the program it wants to install. It will choose where the program goes and usually makes all the necessary links for it. Some programs rely on others, these are called dependencies. Some programs have dependencies while others don't, usually simple programs don't and more complicated programs may have many dependencies.
Most of the time what you will do is just a straight-forward install by typing the folloying into the command-line as root (or su in as root):
# rpm -Uvh /home/mojo/program.rpmThe above will:
- Install or if there is an older version of the program it will upgrade. You may switch 'U' with 'i' to just perform and install and not check to see if it can upgrade.
- 'v' is to produce a verbose output. This means it will tell you any errors that occur.
- 'h' will show hash marks as a progress meter.
- It will isntall the program name program.rpm that is in the directory /home/mojo/
You can just do the following to install a program but the above is considered good practice:
# rpm -i /home/mojo/program.rpm[ September 16, 2002: Message edited by: Master of Reality / Bob ]