A file with .rpm extension is a Red Hat Linux operating system package for installations of programs on Linux systems. The Red Hat Package Manager uses the RPM file format and is free and open-source package management system. Though RPM files can be used as it is for installation of programs, these can be converted to other package formats such as DEB using Debian program called Alien.
RPM File Format
An RPM file is a binary that can contain a set of files. Most of the times, RPM files are “binary RPMs” which are the compiled executables of the software. The RPM file can contain source RPMs (SRPMs) that can be used to build the package from the source code. The RPM file format consists of four sections.
Lead - It identifies the file as an RPM file
Signature - It can be used to ensure integrity and/or authenticity
Header - Contains metadata including package name, version, architecture, file list, etc.
File Archive - Also known as payload, which usually is in cpio format, compressed with GZIP