rpm2archive(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | SEE ALSO | AUTHOR | COLOPHON

RPM2ARCHIVE(8)                                            RPM2ARCHIVE(8)

NAME         top

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

SYNOPSIS         top

       rpm2archive {-n|--nocompression} {-f|--format=pax|cpio} FILES

DESCRIPTION         top

       rpm2archive converts the .rpm files specified as arguments to tar
       archives on standard out.

       If a '-' argument is given, an rpm stream is read from standard
       in.

       If standard out is connected to a terminal, the output is written
       to tar files with a ".tgz" suffix, gzip compressed by default.

       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.

OPTIONS         top

       -n, --nocompression
              Generate uncompressed tar archive and use ".tar" as
              postfix of the file name.

       -f, --format=pax|cpio
              Generate archive in specified format: pax (the default
              format) or cpio.  Note that the cpio format cannot host
              files over 4GB in size and is only supported here for
              backwards compatibility.

EXAMPLES         top

       rpm2archive glint-1.0-1.i386.rpm | tar -xvz
       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         top

       rpm2cpio(8), rpm(8)

AUTHOR         top

              Florian Festi <ffesti@redhat.com>

COLOPHON         top

       This page is part of the rpm (RPM Package Manager) project.
       Information about the project can be found at 
       ⟨https://github.com/rpm-software-management/rpm⟩.  It is not known
       how to report bugs for this man page; if you know, please send a
       mail to man-pages@man7.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/rpm-software-management/rpm.git⟩ on
       2023-12-22.  (At that time, the date of the most recent commit
       that was found in the repository was 2023-12-15.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

                             27 January 2020              RPM2ARCHIVE(8)

Pages that refer to this page: rpm2cpio(8)