RPMUNCOMPRESS(1)
π RPMUNCOMPRESS π
okay bestie, you know rpmuncompress? yeah, that's the manual page. it's rpmuncompress, the RPM utility for compressed files and archives. let's get into it, i promise it's not that deep. β¨
πΈ SYNOPSIS πΈ
rpmuncompress [options] FILE
rpmuncompress [options] [extract-options] {-x|--extract} ARCHIVE
π¦ DESCRIPTION π¦
so rpmuncompress is a utility that transparently outputs compressed and uncompressed files, and also extracts archives. like, it does both. versatile queen. π
it's normally invoked internally by rpmbuild(1) to handle %setup and %patch related tasks in spec files β but you can totally call it manually too, and honestly? slay, go for it.
π ARGUMENTS π
- FILE β a regular file, optionally compressed. that's it, that's the vibe.
- ARCHIVE β a
tar(1),zip(1), CAR or Ruby GEM file. and if it's atararchive? it may be compressed. we handle it. π
β¨ OPERATIONS β¨
by default, rpmuncompress outputs FILE to standard output β similar to cat(1), except it transparently decompresses a bunch of popular compression formats, similar to zcat(1). so it's giving cat but smarter. main character energy fr.
-x,--extractβ extract the ARCHIVE passed as argument into the current directory, transparently uncompressingtar(1)archives if needed. no cap, it just handles it.
π OPTIONS π
-n,--dry-runβ output the shell command that would be executed without this option. so you can see the plan before you commit. lowkey iconic.
also! check out rpm-common(8) for options common to all rpm executables. the more u know iykyk. π
π EXTRACT OPTIONS π
-C PATH,--path=PATHβ extract intoPATHregardless of the archive's internal layout. we don't care what it thinks its structure is, bestie, we're going where you said. periodt.
π EXIT STATUS π
on success, 0 is returned. a nonzero failure code otherwise. you either ate or you didn't. π
π§ EXAMPLES π§
rpmuncompress /tmp/3911.patch.gz | patch -p1
uncompress and output /tmp/3911.patch.gz, similar to zcat(1), and pipe it to patch(1). chef's kiss. π₯
rpmuncompress -x myproject.zip
extract myproject.zip archive into the current directory. simple. clean. obsessed.
rpmuncompress -x -C myproject myproject-1.0.7rc1.tar.gz
uncompress and extract myproject-1.0.7rc1.tar.gz archive into myproject directory, regardless of it's internal structure. we're putting it where we want it. π
π«Ά SEE ALSO π«Ά
rpm-common(8), rpmbuild(1), popt(3)
okay that's the whole page bestie, go forth and uncompress responsibly π
and that's a wrap, babes πΈ this was RPM 6.1.0, dated 2026-08-20 β written by the General Commands Manual girlies, delivered to you with love. mwah. ππβ¨
π¦ where this page comes from
- ubuntu stonking: rpm 6.1.0-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms