whatisrpm.com

Packages wing

What is an .rpm file?

Reviewed08·2026

The fourth RPM is a recursive acronym: the RPM Package Manager, the packaging system behind Red Hat Enterprise Linux, Fedora and openSUSE. An .rpm file is one installable package in that system: files, metadata and scripts in a single signed archive.

By Oliver Wakefield-Smith. Written by Oliver Wakefield-Smith, who has shipped software to RPM-based distributions.

What the RPM Package Manager is

RPM is the package management system maintained at rpm.org: it defines the .rpm package format and the tooling that installs, verifies, upgrades and removes packages rpm.org2026-08. Each package carries metadata (name, version, architecture, dependencies, cryptographic signature) alongside the payload, and the RPM database on an installed system records every package's files, which is what makes clean upgrades and verification possible. Originally "Red Hat Package Manager", the project renamed itself recursively as adoption spread beyond Red Hat.

Who uses it, and the .deb divide

Package format families across major Linux distributions
FamilyDistributionsHigh-level tool
RPM (Red Hat lineage)RHEL, Fedora, CentOS Stream, AlmaLinux, Rockydnf (formerly yum)
RPM (SUSE lineage)openSUSE, SUSE Linux Enterprisezypper
Debian format (.deb)Debian, Ubuntu, Mintapt

The commands

Fedora's quick docs cover day-to-day usage Fedora quick docs2026-08; the essentials:

# install with dependency resolution (Fedora / RHEL family)
sudo dnf install ./package.rpm

# openSUSE equivalent
sudo zypper install ./package.rpm

# inspect a package without installing
rpm -qip package.rpm      # metadata
rpm -qlp package.rpm      # file list

# verify an installed package against the database
rpm -V packagename

Use dnf or zypper rather than bare rpm -i for installs: the low-level tool does not resolve dependencies, and unresolved dependencies are the classic first frustration with hand-installed packages.

When a non-Linux developer meets one

Typically via a vendor download page offering .deb and .rpm side by side, a CI pipeline building Linux artifacts, or a server handover. On Windows or macOS an .rpm is inspectable (7-Zip and similar open the archive) but not installable; the practical routes are the vendor's native build, a container image, or a VM. If you arrived here meaning the dashboard metric or the tachometer, the fork back is what RPM stands for.

Questions this page keeps getting

What is an .rpm file?

A software package in the RPM Package Manager format: an archive of files plus metadata (name, version, dependencies, install scripts) that RPM-based Linux distributions use to install and manage software.

Which Linux distributions use RPM?

Red Hat Enterprise Linux, Fedora, CentOS Stream, AlmaLinux, Rocky Linux and openSUSE among others. Debian and Ubuntu use the .deb format instead.

How do I install an .rpm file?

Prefer the distro's package manager so dependencies resolve: dnf install ./package.rpm on Fedora/RHEL families, zypper install ./package.rpm on openSUSE. The low-level rpm -i works but does not fetch dependencies.

Can I open an .rpm on Windows or Mac?

You cannot install it, but archive tools such as 7-Zip can open it to inspect contents. To run the software, use the vendor's Windows/Mac build or a Linux container or VM.