rpm2cpio - Man Page
Extract cpio archive from RPM Package Manager (RPM) package.
Examples (TL;DR)
- Convert an RPM package to a
cpio
archive and save it asfile.cpio
in the current directory:rpm2cpio path/to/file.rpm
Synopsis
rpm2cpio [filename]
Description
rpm2cpio converts the .rpm file specified as a single argument to a cpio archive on standard out. If a '-' argument is given, an rpm stream is read from standard in.
Note: the CPIO format cannot host individual files over 4GB in size, and so this tool is considered obsolete. Use rpm2archive instead.
rpm2cpio glint-1.0-1.i386.rpm | cpio -dium
cat glint-1.0-1.i386.rpm | rpm2cpio - | cpio -tv
See Also
Author
Erik Troan <ewt@redhat.com>
Referenced By
rpm(8), rpm2archive(8), rpmbuild(8), rpmdb(8), rpmfile(1), rpmkeys(8), rpmpeek(1), rpmsign(8), rpmspec(8), unrpm(1).
11 January 2001