.\" Generated by scdoc 1.11.4 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "RPM-PAYLOADFLAGS" "7" "2026-01-08" "RPM 6.0.1" .PP .SH NAME \fBrpm-payloadflags\fR - RPM payload flags .PP .SH SYNOPSIS \fBw\fR[\fIFLAGS\fR].\&\fITYPE\fR .PP .SH DESCRIPTION The payload flags determine how the payload of an RPM package is compressed when the package is built.\& The flags are stored in the \fBPayloadcompressor\fR and \fBPayloadflags\fR tags of the package header, which are used to determine how to uncompress the payload contents during installation.\& .PP The peculiar syntax is directly inherited from librpm'\&s \fBFopen()\fR IO API, where \fBw\fR means opening a file for writing.\& .PP The following compression types are supported, but availability may vary depending on how RPM was compiled.\& .PP .TS allbox;c lx c lx c lx c lx c lx c lx c lx. T{ \fITYPE\fR T} T{ Description T} T{ \fBufdio\fR T} T{ uncompressed T} T{ \fBgzdio\fR T} T{ gzip (aka zlib) T} T{ \fBbzdio\fR T} T{ bzip2 T} T{ \fBxzdio\fR T} T{ xz T} T{ \fBlzdio\fR T} T{ legacy lzma T} T{ \fBzstdio\fR T} T{ zstd T} .TE .sp 1 The compression \fIFLAGS\fR must be listed in the following order and can be any of: .PP .TS allbox;c lx c c lx c c lx c c lx c. T{ \fIFLAGS\fR T} T{ Description T} T{ Types T} T{ <0-9> T} T{ compression level T} T{ all (\fBufdio\fR ignores) T} T{ T[0-N] T} T{ number of threads (no number or 0 = autodetect) T} T{ \fBxzdio\fR, \fBzstdio\fR T} T{ L<0-9> T} T{ window size(see \fB--long\fR in \fBzstd\fR(1)) T} T{ \fBzstdio\fR T} .TE .sp 1 If a flag is omitted, the compressor'\&s default value will be used.\& .PP A higher compression level generally means better compression ratio at the cost of increased resource use and compression times.\& .PP \fBT\fR is equivalent to \fBT0\fR 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.\& .PP .SH EXAMPLES .TS allbox;l lx l lx l lx l lx l lx l lx l lx l lx l lx l lx. T{ Mode T} T{ Description T} T{ \fBw9.\&gzdio\fR T} T{ gzip level 9, default for package payload T} T{ \fBw9.\&bzdio\fR T} T{ bzip2 level 9, bzip2'\&s default T} T{ \fBw.\&xzdio\fR T} T{ xz default level T} T{ \fBw7T16.\&xzdio\fR T} T{ xz level 7 using 16 threads T} T{ \fBw7T0.\&xzdio\fR T} T{ xz level 7, autodetect no.\& of threads T} T{ \fBw6.\&lzdio\fR T} T{ lzma (legacy) level 6, lzma'\&s default T} T{ \fBw19T8.\&zstdio\fR T} T{ zstd level 19 using 8 threads T} T{ \fBw7T.\&zstdio\fR T} T{ zstd level 7, autodetect no.\& of threads T} T{ \fBw.\&ufdio\fR T} T{ uncompressed T} .TE .sp 1 .SH SEE ALSO \fBrpmbuild-config\fR(5), \fBrpm-config\fR(5) .PP \fBhttp://www.\&rpm.\&org/\fR