rpm2archive - Man Page

Create tar archive from RPM Package Manager (RPM) package.

Synopsis

rpm2archive [filename]

Description

rpm2archive converts the .rpm files specified as arguments to gz compressed tar files with suffix ".tgz".

If '-' is given as argument, an rpm stream is read from standard in and written to standard out.

In opposite to rpm2cpio rpm2archive also works with RPM packages containing files greater than 4GB which are not supported by cpio. Unless rpm2cpio rpm2archive needs a working rpm installation which limits its usefulness for some disaster recovery scenarios.

rpm2archive glint-1.0-1.i386.rpm ; tar -xvz glint-1.0-1.i386.rpm.tgz
cat glint-1.0-1.i386.rpm | rpm2archive - | tar -tvz

See Also

rpm2cpio(8) rpm(8)

Author

Florian Festi <ffesti@redhat.com>

Info

27 January 2020 Red Hat, Inc.