HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rpm2cpio — Convert an RPM package to a `cpio` archive. More information: <http://ftp.rpm.org/max-rpm/s1-rpm-mis

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrpmconvertclicpioarchivepackagerpm2cpio
linux

Problem

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

Solution

rpm2cpio — 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}}

Code Snippets

Convert an RPM package to a `cpio` archive and save it as `file.cpio` in the current directory

rpm2cpio {{path/to/file.rpm}}

Context

tldr-pages: linux/rpm2cpio

Revisions (0)

No revisions yet.