.rpm File Extension

Learn what a .rpm file is, how to inspect or install an RPM package safely, how Poly supports it, and which alternatives fit other systems.

File extension details for .rpm

Storage Only
File typeRPM Package Manager package
MIME type
EncodingBinary package with lead, signature, header, and compressed payload
Operating systemsLinux, Windows, macOS
Opens withRPM, DNF5, rpm2archive
Poly supportYes. Poly stores, syncs, shares, versions, and downloads RPM packages.
Indexed by PolyPartial. Poly indexes the filename and ordinary file properties, not package metadata or payload contents.
Preview in PolyNo. Download the package to inspect it with RPM-family tools.
Poly agentNo. The Poly agent cannot read the package header, scripts, signatures, or payload.

What kind of file is a .rpm?

A .rpm file is an RPM Package Manager package. It can be a binary package ready for a particular system and architecture, or a source RPM containing source material, patches, and build instructions. Both variants use the same extension and application/x-rpm MIME type. That media type is widely used but is not registered by IANA.12

An RPM holds files plus structured metadata such as the package name, version, architecture, dependencies, ownership, and installation scripts. Version 4 packages have four logical sections: a lead, signature, header, and compressed payload. Their first four bytes are ED AB EE DB.13

The magic bytes help identify an RPM container, but they do not prove that its metadata is valid or its publisher is trustworthy. Renaming another archive or installer to .rpm does not convert it.

How do I open a .rpm on my computer?

On Fedora, Red Hat Enterprise Linux, and other RPM-family Linux distributions, inspect an unfamiliar package before installing it:

rpm -qip package.rpm
rpm -qlp package.rpm
rpm --checksig package.rpm

These commands show package information, list packaged paths, and check available signatures and digests without installing the payload.4 When you trust the package, DNF5 can install a local file while resolving dependencies from configured repositories:

dnf5 install ./package.rpm

On Windows or macOS, use a Linux virtual machine or container with RPM tools when you need package-aware inspection. An archive utility may extract some payloads, but that is not a correct installation and does not apply dependencies or lifecycle scripts.

RPM packages can contain programs and scriptlets that modify system files or services. Prefer your distribution's authenticated repositories. Verify the source and signing key before installing a standalone package.

Poly support for .rpm

Poly recognizes RPM packages and stores, syncs, shares, versions, downloads, and finds them by filename and ordinary file properties.

Poly does not parse package headers, validate signatures, extract the payload, generate a thumbnail, or provide an in-app package browser. Package metadata and files inside the RPM are not content-indexed, and the Poly agent cannot read them. Download the file and use RPM or DNF when you need to inspect or install it.

History of .rpm

Marc Ewing and Erik Troan developed RPM at Red Hat after work on earlier package systems. The official timeline records RPM 1.2 in September 1995 and the first commit to the C implementation that November. RPM 2.0 followed in March 1996.5

The initials first meant “Red Hat Package Manager.” In 2000, the project adopted the recursive name “RPM Package Manager” as the technology spread beyond Red Hat systems.5 Today RPM is used by Fedora, Red Hat Enterprise Linux, openSUSE, SUSE Linux Enterprise, and other distributions.6

Working with .rpm and alternatives

The filename often indicates the package's role, but its header is authoritative:

Filename patternTypical meaning
name-version-release.arch.rpmBinary package for a named architecture, or noarch
name-version-release.src.rpmSource RPM for rebuilding with RPM tools
.debDebian-family binary package, not interchangeable with RPM
.tar.*General archive without RPM transaction metadata

Choose a package built for the exact distribution, release, and CPU architecture. Converting a DEB or another installer may lose dependency rules, script behavior, file ownership, or distribution integration. For sharing files without installation behavior, use a general archive such as TAR or ZIP.

Footnotes

  1. RPM Project. RPM V4 Package Format. 2
  2. Internet Assigned Numbers Authority. Media Types Registry. The application registry does not list application/x-rpm.
  3. RPM Project. RPM Package Lead Format.
  4. RPM Project. rpm(8): RPM Package Manager.
  5. RPM Project. RPM Timeline. 2
  6. RPM Project. About RPM.
© Poly Corp. 2026