.rpm File Extension
.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 type | RPM Package Manager package |
|---|---|
| MIME type | |
| Encoding | Binary package with lead, signature, header, and compressed payload |
| Operating systems | Linux, Windows, macOS |
| Opens with | RPM, DNF5, rpm2archive |
| Poly support | Yes. Poly stores, syncs, shares, versions, and downloads RPM packages. |
| Indexed by Poly | Partial. Poly indexes the filename and ordinary file properties, not package metadata or payload contents. |
| Preview in Poly | No. Download the package to inspect it with RPM-family tools. |
| Poly agent | No. 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
.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.
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 pattern | Typical meaning |
|---|---|
name-version-release.arch.rpm | Binary package for a named architecture, or noarch |
name-version-release.src.rpm | Source RPM for rebuilding with RPM tools |
.deb | Debian-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
- RPM Project. RPM V4 Package Format. ↩ ↩2
- Internet Assigned Numbers Authority. Media Types Registry. The application registry does not list
application/x-rpm. ↩ - RPM Project. RPM Package Lead Format. ↩
- RPM Project. rpm(8): RPM Package Manager. ↩
- RPM Project. RPM Timeline. ↩ ↩2
- RPM Project. About RPM. ↩