.RPM

RPM File

RPM Package Manager File
Ask a question
QUICK ANSWER

An .rpm file is a software package for RPM-based Linux distributions such as Fedora, RHEL, CentOS, and openSUSE. Install it with sudo dnf install ./file.rpm (Fedora/RHEL) or sudo zypper install ./file.rpm (openSUSE). On Windows, 7-Zip can open the file to inspect its contents, but cannot install it.

Developer: Red Hat (now community/RPM.org; originally Red Hat Package Manager) Category: Compressed Files Open standard MIME: application/x-rpm
OPENS ON Windows macOS Linux
Related: .RAR · .ZIP · .Z01 · .7Z

On this page

19k+ extensions indexed
Last reviewed Aug 25, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the RPM file format?

Files with the .rpm extension are package files used on Linux-based operating systems. Originally the .rpm format was developed by Red Hat for its own Linux distribution, but today it is widely used across Fedora, RHEL, CentOS, openSUSE, Mageia, and many other distributions.

An .rpm file is a software package that contains everything needed to install a specific application on a compatible Linux system. RPM originally stood for Red Hat Package Manager; the project is now maintained by the open-source community at RPM.org and the command-line tool is simply called rpm. The format was designed to make the installation and distribution of Linux applications straightforward, so the end user does not have to manage individual files required for installation.

Internally, an .rpm has a binary structure made up of a lead section, a GPG signature header, a tagged metadata header, and a compressed .cpio payload holding the actual files. Modern packages compress that payload with XZ/LZMA; gzip, bzip2, and Zstd are also supported. Packages are installed via dnf (Fedora/RHEL) or zypper (openSUSE), which resolve dependencies automatically. A .src.rpm variant carries source code and build instructions instead of ready-to-run binaries. On Windows or macOS, tools like 7-Zip can extract .rpm contents for inspection, though install scripts cannot run outside a native RPM-based Linux system. The closest equivalent on Debian-based systems is the .deb format.

Security & safety

RISK: MEDIUM

RPM packages run install/uninstall scripts as root, so a malicious .rpm can fully compromise a system. Only install RPMs from trusted vendors/repositories, and verify the GPG signature first: rpm --checksig package.rpm (and import the vendor's key). Distros warn before installing unsigned packages. On Windows/macOS an .rpm can't run, so inspecting it there is harmless. Avoid random 'rpm to exe' or 'rpm opener' sites - they're misleading (RPMs don't run on Windows) and often bundle adware.

Format details

in a nutshell
FULL NAMERPM Package Manager Fileaka Red Hat Package Manager file, RPM package
DEVELOPERRed Hat (now community/RPM.org; originally Red Hat Package Manager)since 1997 (RPM, with Red Hat Linux 5.0; rpm-software-management is the current upstream)
MIME TYPEapplication/x-rpm
TYPEBinary software package (Linux) - header metadata + a compressed cpio payload
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
EDABEEDB
ASCII
····
First 4 bytes are the RPM lead magic; bytes 4-5 are the format major.minor version (e.g. 03 00 = v3 lead). Header sections and the payload follow.

Programs that open RPM files

Windows2 apps
7-Zip Open-source Right-click → 7-Zip → Open archive to inspect/extract the cpio payload. Cannot install - Windows can't run Linux packages.
PeaZip Open-source Open the .rpm to browse and extract its files for inspection (no install).
macOS2 apps
The Unarchiver Free Extract the .rpm payload to inspect its files on macOS; cannot install the package.
Homebrew rpm2cpio Open-source rpm2cpio package.rpm | cpio -idmv to extract files from the package on macOS for inspection.
Linux5 apps
Alien Open-source On Debian/Ubuntu: sudo alien -i package.rpm converts and installs as .deb. Use with care - native .deb is preferred.
dnf / DNF (Fedora, RHEL, CentOS Stream) Open-source sudo dnf install ./package.rpm - installs the package and resolves dependencies automatically. Preferred over raw rpm.
zypper (openSUSE / SUSE) Open-source sudo zypper install ./package.rpm - installs with dependency resolution on SUSE systems.
rpm (Red Hat Package Manager) Open-source Low-level tool: sudo rpm -ivh package.rpm to install, rpm -qlp to list files, rpm --checksig to verify. Won't auto-resolve deps.
GNOME Software / Discover Open-source Double-click the .rpm in the file manager to install via the graphical software center (on RPM distros).

Technical details

deep spec
MIME typeapplication/x-rpm (also accepted: application/x-redhat-package-manager)
File magic bytesED AB EE DB at offset 0 - the "edabeedb" RPM lead signature
Internal structureLead section → GPG signature header → tagged metadata header → compressed cpio payload
Payload compressionXZ/LZMA (modern default on Fedora/RHEL), gzip, bzip2, or Zstd; selectable per package build
Header byte orderBig-endian; each tag entry stores a 4-byte type, 4-byte count, and offset into the data store
Package signingGPG signature embedded in the signature header; verified with `rpm --checksig`
Dependency metadataRequires, Provides, Conflicts, and Obsoletes tags stored in the main header for automatic resolution
Install scriptletsPre- and post-install (%pre/%post) and pre- and post-uninstall (%preun/%postun) scripts embedded in the package
Per-file integritySHA-256 digests per file stored in the header (MD5 on older packages); checked after installation
Package format versionv4 (current, RPM 4.x toolchain); RPM v6 format in active development at RPM.org
Associated package managers`dnf` (Fedora, RHEL, CentOS Stream), `zypper` (openSUSE/SUSE), `rpm` (low-level command)
Source package variant`.src.rpm` (SRPM) contains the source tarball and `.spec` build recipe instead of compiled binaries
Supported install platformsRPM-based Linux distributions: Red Hat, Fedora, RHEL, CentOS, openSUSE, Rocky Linux, AlmaLinux, Mageia
Typical file sizeTens of KB (small utilities) to several hundred MB (large applications, dev toolchains, or firmware)
RelocatabilityPackages can be flagged relocatable, permitting installation to a user-defined prefix path
Released1997 (RPM, with Red Hat Linux 5.0; rpm-software-management is the current upstream)
Latest versionRPM v4 package format (RPM 4.20.x, 2024); RPM v6 format in development
Open standardYes · royalty-free
Specificationrpm-software-management.github.io

RPM conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RPM files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about RPM files.

Frequently asked questions

How do I install an .rpm file on Linux?
On Fedora/RHEL: sudo dnf install ./file.rpm; on openSUSE: sudo zypper install ./file.rpm. These resolve dependencies automatically. The low-level sudo rpm -ivh file.rpm works too but won't fetch missing dependencies.
How do I open an .rpm file on Windows?
Windows can't install it (it's a Linux package), but 7-Zip or PeaZip can open the .rpm to extract and inspect its files. To actually run the software you'd need a Linux system or WSL.
How do I install an .rpm on Ubuntu/Debian?
Ubuntu/Debian use .deb, not .rpm. Convert with sudo alien -i file.rpm, but it's safer to look for a native .deb, Flatpak or AppImage of the same program.
What's the difference between RPM and DEB?
Both are Linux package formats: RPM is used by Red Hat-family and SUSE distros (dnf/zypper), DEB by Debian/Ubuntu (apt/dpkg). They bundle similar data but aren't interchangeable without conversion.
How do I see what's inside an .rpm without installing it?
rpm -qlp file.rpm lists its files and rpm -qip file.rpm shows its info; or run rpm2cpio file.rpm | cpio -idmv to extract them. On Windows, open it with 7-Zip.
Why do I get 'failed dependencies' when installing an RPM?
The package needs other packages that aren't installed. Use dnf install ./file.rpm (or zypper) instead of raw rpm, so the package manager pulls in the dependencies from your repositories.

References

1RPM.org - package format manualrpm-software-management.github.io
2RPM.org - official sitewww.rpm.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.BCBitComet Incomplete Download File
7.EXEWindows Executable (Portable Executable)
8.NOMEDIAAndroid No-Media Marker File
9.AVIFAV1 Image File Format (AVIF)
10.RPMSGRestricted Permission Message

Related extensions

.RARRAR Archive (Roshal ARchive)
.ZIPZIP Archive
.Z01Split ZIP Archive - First Part
.7Z7-Zip Archive
.001Split / multi-volume archive - first part (.001)
.ZIRenamed / Truncated ZIP Archive

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z