If you’re like most Linux users, you probably install software using RPM files. RPM stands for Red Hat Package Manager, and it’s a great way to get software installed on your system quickly and easily. In this article, we’ll show you how to install RPM files in Linux. To start, open a terminal window and type the following command: sudo apt-get install rpm This will install the rpm package manager on your system. Next, we need to create a new RPM file. To do this, open a terminal window and type the following command: rpm -ivh [filename] This will create a new RPM file called [filename]. You can now use this file to install software on your system. To install software using the [filename] RPM file, simply type the following command: sudo rpm -i [filename] ..


Did you download an RPM file, and you’re not sure what it is or what do with it? It’s one of the file types used to install applications in Red Hat Enterprise Linux-based distributions, and we’ll show you how to use them.

What Is an RPM File?

RPM files end with the “.rpm” extension. RPM stands for Red Hat Package Management system, and it’s used to install applications in Red Hat Enterprise Linux-based distributions like RHEL, Fedora, and CentOS. It’s similar to the DEB package used to install apps on Debian-based distributions like Ubuntu and its derivatives like Pop!_OS, Linux Mint, and Zorin OS.

If you’re coming to Linux from Windows, you may be tempted to see RPM files as similar to EXE files, but this is not the case. RPM files contain the elements needed for installing an application, while EXE files are executable programs themselves.

While RPM files are meant for RHEL-based distros, it is technically possible to install RPM files on Ubuntu using an app called Alien.

RELATED: How to Install a DEB File in Linux

How to Install RPM Files

There are two ways to install RPM files on an RHEL-based distribution: using a GUI (Graphical User Interface) in the desktop and using the Terminal. Let’s go through both methods so that you can choose the one that’s best for you. Note that we’ll be using Fedora Linux in our screenshots.

Install RPM Files on the Desktop

Download the RPM package of the app you want to install. Let’s install Slack for this tutorial.

Double-click on the downloaded file to load its contents in the Fedora Software center.

Click on the “Install” button.

Type your password and hit Enter.

And your application will begin installing on your Linux desktop.

RELATED: What Apps Can You Actually Run on Linux?

Install RPM Files in the Terminal

If you prefer using the command line (also known as the terminal), you can install an RPM package using the rpm command.

First, use the cd command to enter the directory where your RPM file is located. Alternatively, you can head over to the location of the downloaded file using the FIles app. Right-click anywhere in the folder and click on “Open in Terminal.”

Copy and paste the following command and hit enter.

Ensure to replace “package_name.rpm” with the actual name of the package you’re installing. Here’s an example.

If you’re having trouble copying the package’s name, you can type the first few words of the package name and press Tab to autocomplete. Alternatively, you can drag and drop the RPM file into the terminal. Then, press Enter.

You’ll be prompted for your password before pressing Enter again. Once the RPM file is installed, the application should now appear in the apps list.

With your application installed, consider learning some other beginner Linux commands, or you can level up with some terminal power user tricks.

RELATED: Become a Linux Terminal Power User With These 8 Tricks