rpm2cpio - Man Page

Extract cpio archive from RPM Package Manager (RPM) package

Examples (TL;DR)

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

cpio(1), rpm(8), rpm2archive(1)

Referenced By

rpm(8), rpm2archive(1), rpmbuild(1).

2026-08-20 RPM 6.1.0