Imported Upstream version 4.14.1
[platform/upstream/rpm.git] / doc / rpm-misc.8
1 .TH "RPM misc options" 8
2 .SH NAME rpm \- lesser need options for rpm(8)
3
4 .SH OPTIONS
5 .TP
6 \fB\-\-predefine\fR='\fIMACRO EXPR\fB'\fR
7 Defines \fIMACRO\fR with value \fIEXPR\fR. before loading macro files.
8
9 .SH Switching off features
10 .TP
11 \fB\-\-color [never|auto|always]\fR
12 Use terminal colors for highlighting error and debug message. Default is  turning colors on for ttys only (\fBauto\fR).
13 .TP
14
15 \fB\-\-nocontexts\fR
16 Disable the SELinux plugin if available. This stops the plugin from setting SELinux contexts for files and scriptlets.
17 .TP
18 \fB\-\-noglob\fR
19 Do not glob arguments when installing package files.
20 .TP
21 \fB\-\-nocaps\fR
22 Don't verify capabilities of files.
23 .TP
24 \fB\-\-excludeconfigs, \-\-noconfigs\fR
25 Do not install configuration files.
26 .TP
27 \fB\-\-nohdrchk\fR
28 Don't verify database header(s) when retrieved.
29
30 .SH Debugging
31
32 .TP
33 \fB-d, \-\-debug\fR
34 Print debugging information.
35 .TP
36 \fB\-\-deploops\fR
37 Print dependency loops as warning.
38 .TP
39 \fB\-\-fsmdebug\fR
40 Print debuging information of payload handling code.
41 .TP
42 \fB\-\-rpmfcdebug\fR
43 Print debug information about files packaged.
44 .TP
45 \fB\-\-rpmiodebug\fR
46 Print debug information about file IO.
47 .TP
48 \fB\-\-stats\fR
49 Print runtime statistics of often used functions. 
50
51 .SH Obsolete Options
52 .TP
53 \fB-K, \-\-checksig\fR
54 See and use rpmkeys(8).
55 .TP
56 \fB\-\-nodocs\fR
57 Do not install documentation.
58 Use \fB\-\-excludedocs\fR instead.
59 .TP
60 \fB\-\-promoteepoch\fR
61 Enable obsolete epoch handling used in rpm 3.x time frame.
62 .TP
63 \fB\-\-prtpkts\fR
64 OBSOLETE! Used to print the packages containing and representing the pgp keys for debugging purposes.