RPM2ARCHIVE(8)
π rpm2archive β the RPM unpacker bestie π
okay so this is the rpm2archive page from section 8 of the manual (yes, the whole thing lives in RPM2ARCHIVE(8), iykyk) and honestly? she's a baddie. let's get into it.
β¨ NAME β¨
rpm2archive β Create tar archive from RPM Package Manager (RPM) package. π
πΈ SYNOPSIS πΈ
rpm2archive {-n|--nocompression} {-f|--format=pax|cpio} FILES
that's the whole vibe. FILES are the rpm files, and the flags are... optional-ish, we'll get there bestie π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea β β rpm2archive converts the .rpm files you pass as arguments into tar archives, and it puts them on standard out. like, that's her whole job and she eats every time π
If you give her a '-' argument, she reads an rpm stream from standard in instead. slay. flexible queen.
And if standard out happens to be connected to a terminal, the output gets written to tar files with a .tgz suffix, and they're compressed with gzip(1) by default. no cap. π
Now here's the glow-up moment: in opposite to rpm2cpio, rpm2archive also works with RPM packages containing files greater than 4GB which are not supported by cpio. so if you've got a chonky file, she's the one. main character energy fr fr π
π OPTIONS π
-n,--nocompressionβ Generate uncompressed tar archive and use.taras postfix of the file name. so no gzip, just the raw goods, and the filename gets the.tartreatment instead β¨-f,--format=pax|cpioβ Generate archive in specified format:pax(the default format) orcpio. Note that thecpioformat cannot host files over 4GB in size and is only supported here for backwards compatibility. so like, it's there if you need it, but it's giving legacy energy π
π EXAMPLES π
here's how the girlies actually use her:
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
pick your fighter, all three are iconic π₯
π SEE ALSO π
go say hi, they're family π«Ά
π AUTHOR π
Florian Festi <ffesti@redhat.com> β thank you for your service legend β
okay that's the whole page bestie, and just so you know the source/version sitch: this is RPM2ARCHIVE(8), dated 27 January 2020 π mwah, go unpack something pretty π¦β¨
π¦ where this page comes from
- debian trixie: rpm2cpio 4.20.1+dfsg-3 Β· GPL-2.0-or-later
- nixpkgs unstable: rpm 4.20.1
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- ubuntu questing: rpm2cpio 4.20.1+dfsg-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms