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.
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
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.
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.
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.
sudo rpm -i "package_name.rpm"
Ensure to replace “package_name.rpm” with the actual name of the package you’re installing. Here’s an example.
sudo rpm -i slack-4.23.0-0.1.fc21.x86_64.rpm
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.
- › How to Install Linux in VirtualBox
- › How to Convert Linux Installation Packages to Other Formats
- › What Is Fedora Linux?
- › Does an Ionic Air Purifier Clean Better Than Standard Units?
- › How to Show the Battery Percentage on Android
- › What Is Automatic Voltage Regulation (AVR)?
- › Should You Plug a UPS Into a Surge Protector?
- › These Inexpensive LEDs Will Light Up Dim Spaces in Your Home