table of contents
| RPMUNCOMPRESS(1) | General Commands Manual | RPMUNCOMPRESS(1) |
NAME¶
rpmuncompress - RPM utility for compressed files and archives
SYNOPSIS¶
rpmuncompress [options] FILE
rpmuncompress [options] [extract-options] {-x|--extract} ARCHIVE
DESCRIPTION¶
rpmuncompress is a utility for transparently outputting compressed and uncompressed files, and extracting archives.
It's normally invoked internally by rpmbuild(1) to handle %setup and %patch related tasks in spec files, but can be useful manually invoked as well.
ARGUMENTS¶
FILE
ARCHIVE
OPERATIONS¶
By default, rpmuncompress outputs FILE to standard output similar to cat(1), but transparently decompressing many popular compression formats, similar to zcat(1).
-x, --extract
OPTIONS¶
-n, --dry-run
See rpm-common(8) for options common to all rpm executables.
EXTRACT OPTIONS¶
-C PATH, --path=PATH
EXIT STATUS¶
On success, 0 is returned, a nonzero failure code otherwise.
EXAMPLES¶
rpmuncompress /tmp/3911.patch.gz | patch -p1
rpmuncompress -x myproject.zip
rpmuncompress -x -C myproject myproject-1.0.7rc1.tar.gz
SEE ALSO¶
| 2026-08-20 | RPM 6.1.0 |