RPM2CPIO(1)

2025-10-07

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 ouput.

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 non-zero 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)

RPM 6.0.0

Index

2025-10-07