rpm2cpio

Convert an RPM package to a cpio archive. More information: <http://ftp.rpm.org/max-rpm/s1-rpm-miscellania-rpm2cpio.html>.

Install

All systems
curl cmd.cat/rpm2cpio.sh
Debian Debian
apt-get install rpm2cpio
Ubuntu
apt-get install rpm2cpio
Alpine
apk add rpm
Arch Arch Linux
pacman -S rpm2cpio
image/svg+xml Kali Linux
apt-get install rpm2cpio
CentOS
yum install rpm
Fedora
dnf install rpm
Windows (WSL2)
sudo apt-get update sudo apt-get install rpm2cpio
OS X
brew install rpm2cpio
Raspbian
apt-get install rpm2cpio
Docker
docker run cmd.cat/rpm2cpio rpm2cpio powered by Commando

Convert an RPM package to a cpio archive. More information: <http://ftp.rpm.org/max-rpm/s1-rpm-miscellania-rpm2cpio.html>.

  • Convert an RPM package to a `cpio` archive and save it as `file.cpio` in the current directory:
    rpm2cpio path/to/file.rpm

© tl;dr; authors and contributors