| RPM2CPIO(1) | General Commands Manual | RPM2CPIO(1) |
NAME
rpm2cpio - Extract cpio archive from RPM Package Manager (RPM) package
SYNOPSIS
rpm2cpio PACKAGE_FILE
rpm2cpio -
DESCRIPTION
rpm2cpio converts the specified rpm package to a cpio(1) archive on the standard output.
Note: the cpio(5) format cannot host individual files over 4GB in size, and so this tool is considered obsolete. Use rpm2archive(1) instead.
ARGUMENTS
PACKAGE_FILE
A binary or source RPM package.
If dash (-) is given as the argument, data is read from the standard input.
EXIT STATUS
On success, 0 is returned, a nonzero failure code otherwise.
EXAMPLES
rpm2cpio glint-1.0-1.i386.rpm | cpio -dium
Extract glint-1.0-1.i386.rpm contents relative to
current directory.
cat glint-1.0-1.i386.rpm | rpm2cpio - | cpio -tv
View glint-1.0-1.i386.rpm file list with
cpio(1).
SEE ALSO
| 2026-01-08 | RPM 6.0.1 |