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:

  1. Log in as root, or use the su command to change to the root user at the workstation on which you want to install the software.
  2. Download the package you wish to install. The package will be named something like DeathStar0_42b.rpm.
  3. 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, see the RPM.org website. You can also view the manual page on RPM using the following command:

  man rpm

Note: Indiana University has a site license covering the use of Red Hat Enterprise Linux (RHEL) by students, faculty, and staff at IU. For details, see IU's software agreement with Red Hat.

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

Related documents

This is document aheo in the Knowledge Base.
Last modified on 2015-03-12.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.