What is an RPM file?
RPM Package Manager
- Developed By
- Red Hat
- Initial Release
- 1997
- MIME Type
- application/x-rpm
The RPM (RPM Package Manager, formerly Red Hat Package Manager) file format is a binary package system used primarily by Red Hat-based Linux distributions (RHEL, Fedora, CentOS) to distribute software. Conforming to the Linux Standard Base (LSB), an RPM file consists of a lead, a signature, a header, and a payload. The payload is a cpio archive compressed with GZIP, XZ, or LZMA. The header contains metadata such as dependencies, version numbers, and architecture specifications, indexed by a localized Berkeley DB to manage software installation and updates efficiently.
How to open an RPM file
RPM files are intended to be installed via package management systems like rpm or dnf on Linux. For extraction purposes without installation, the rpm2cpio command-line tool can convert the package into a cpio archive, which can then be extracted. On Windows, 7-Zip supports opening RPM files as archives, allowing users to browse and extract the contained file structure and metadata without executing the installation scripts.