|
NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | COLOPHON |
|
|
|
RPM-PAYLOADFLAGS(7) Miscellaneous Information Manual RPM-PAYLOADFLAGS(7)
rpm-payloadflags - RPM payload flags
w[FLAGS].TYPE
The payload flags determine how the payload of an RPM package is
compressed when the package is built. The flags are stored in the
Payloadcompressor and Payloadflags tags of the package header,
which are used to determine how to uncompress the payload contents
during installation.
The peculiar syntax is directly inherited from librpm's Fopen() IO
API, where w means opening a file for writing.
The following compression types are supported, but availability
may vary depending on how RPM was compiled.
โโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ TYPE โ Description โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ufdio โ uncompressed โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ gzdio โ gzip (aka zlib) โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ bzdio โ bzip2 โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ xzdio โ xz โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ lzdio โ legacy lzma โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ zstdio โ zstd โ
โโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The compression FLAGS must be listed in the following order and
can be any of:
โโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ FLAGS โ Description โ Types โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโค
โ <0-9> โ compression level โ all (ufdio โ
โ โ โ ignores) โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโค
โ T[0-N] โ number of threads (no number or 0 = โ xzdio, zstdio โ
โ โ autodetect) โ โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโค
โ L<0-9> โ window size(see --long in zstd(1)) โ zstdio โ
โโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
If a flag is omitted, the compressor's default value will be used.
A higher compression level generally means better compression
ratio at the cost of increased resource use and compression times.
T is equivalent to T0 and causes the number of threads to be
automatically detected. Note that while using threads can speed up
compression considerably, it typically causes the compression
ratio to go down, and make the output less predictable.
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Mode โ Description โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w9.gzdio โ gzip level 9, default for package payload โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w9.bzdio โ bzip2 level 9, bzip2's default โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w.xzdio โ xz default level โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w7T16.xzdio โ xz level 7 using 16 threads โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w7T0.xzdio โ xz level 7, autodetect no. of threads โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w6.lzdio โ lzma (legacy) level 6, lzma's default โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w19T8.zstdio โ zstd level 19 using 8 threads โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w7T.zstdio โ zstd level 7, autodetect no. of threads โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ w.ufdio โ uncompressed โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
rpmbuild-config(5), rpm-config(5)
http://www.rpm.org/
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
2026-05-24. (At that time, the date of the most recent commit
that was found in the repository was 2026-05-21.) 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
RPM 6.1.90 2026-05-24 RPM-PAYLOADFLAGS(7)
Pages that refer to this page: rpmbuild-config(5), rpm-lua(7)