In Linux, what is RPM, and how do I use it to install software?
RPM (RPM Package Manager) is a popular utility for installing software on Unix-like systems, particularly Red Hat Linux. The following is an example of how to use RPM:
- Log in as
root, or use thesucommand to change to therootuser at the workstation on which you want to install the software.
- Download the package you wish to install. The package will be
named something like
DeathStar0_42b.rpm.
- To install the package, enter the following command at the prompt:
rpm -i DeathStar0_42b.rpm
If you are upgrading from an earlier version of the software package, run RPM in upgrade mode, as in the following example: rpm -U DeathStar0_42b.rpm
For more information about RPM, visit: http://www.rpm.org/ You can also view the manual page on RPM using the following command: man rpm
Note: Indiana University has signed a site license agreement with Red Hat for use of its Linux distribution. This deal covers the use of Red Hat Enterprise Linux (RHEL) by students, faculty, and staff at IU. For more information on this agreement, see the Research Technologies division's Getting Red Hat Enterprise Linux at IU page.
At Indiana University, to get support for personal or departmental Linux or Unix systems, see At IU, how do I get support for Linux or Unix?
Also see:
Last modified on October 09, 2008.






