
The RPM package manager rpm comes with various utilities to interact with packages. List files in an RPM package file using the rpm command The package itself is comprised of four sections: a header with a leading identifier (magic number) that identifies the file as an RPM package, a signature to verify the integrity of the package, the header or ‘tagged’ data containing package information, version numbers, and copyright messaging, and the archive containing the actual program files. Inspecting and extracting Debian package contentsĪn RPM package is simply a header structure on top of a CPIO archive.

86_64.rpm | cpio -idmvĬontinue reading this post for more information about listing and extracting RPMs. There will be example commands presented for extracting RPM package files and showing information for packages that are both installed, and not-installed on a system.Įxtract files from an RPM (quick start) $ rpm2cpio. While it is based on Debian, it uses its own package. Ubuntu, on the other hand, is a Linux-based operating system. It is used to manage software packages, including installation and removal.

This post covers how to list files, show package information and extract the contents of an RPM package. RPM (Red Hat Package Manager) is a package management system used by Linux distributions such as Red Hat, Fedora and CentOS.
