Debian Codegraph @

upstream/opensuse-leap-16-1/man8/dnf5-builddep.8

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "DNF5-BUILDDEP" "8" "Apr 29, 2025" "" "dnf5"
31 .SH NAME
32 dnf5-builddep \- Builddep Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 builddep [options] [<package>...]\fP
36 .SH DESCRIPTION
37 .sp
38 Install missing dependencies for building an RPM package.
39 .sp
40 \fBWARNING:\fP
41 .INDENT 0.0
42 .INDENT 3.5
43 Build dependencies in a source package (i.e. src.rpm) might be different
44 than you would expect because dependencies were evaluated according macros
45 set on the package build host.
46 .UNINDENT
47 .UNINDENT
48 .SH OPTIONS
49 .INDENT 0.0
50 .TP
51 .B \fB\-D \(dqmacro expr\(dq, \-\-define=\(dqmacro expr\(dq\fP
52 .nf
53 Define a rpm macro. Set the value \(dqexpr\(dq to the macro \(dqmacro\(dq when parsing spec files. Does not apply for source rpm files.
54 .fi
55 .sp
56 .TP
57 .B \fB\-\-with=OPTION, \-\-without=OPTION\fP
58 .nf
59 Enable or disable conditional build OPTION when parsing spec files. Does not apply for source rpm files.
60 .fi
61 .sp
62 .TP
63 .B \fB\-\-allowerasing\fP
64 .nf
65 Allow removing of installed packages to resolve any potential dependency problems.
66 .fi
67 .sp
68 .TP
69 .B \fB\-\-skip\-unavailable\fP
70 .nf
71 Allow skipping packages that are not possible to downgrade. All remaining packages will be downgraded.
72 .fi
73 .sp
74 .TP
75 .B \fB\-\-allow\-downgrade\fP
76 .nf
77 Enable downgrade of dependencies when resolving the requested operation.
78 .fi
79 .sp
80 .TP
81 .B \fB\-\-no\-allow\-downgrade\fP
82 .nf
83 Disable downgrade of dependencies when resolving the requested operation.
84 .fi
85 .sp
86 .TP
87 .B \fB\-\-spec\fP
88 .nf
89 Treat command line arguments following this option as spec files.
90 .fi
91 .sp
92 .TP
93 .B \fB\-\-srpm\fP
94 .nf
95 Treat command line arguments following this option as source rpms.
96 .fi
97 .sp
98 .UNINDENT
99 .SH ARGUMENTS
100 .INDENT 0.0
101 .TP
102 .B \fB<package>\fP
103 .nf
104 Either path to .src.rpm, .nosrc.rpm or .spec file or package available in a repository.
105 .fi
106 .sp
107 .UNINDENT
108 .SH EXAMPLES
109 .INDENT 0.0
110 .TP
111 .B \fBdnf builddep foobar.spec\fP
112 .nf
113 Install the needed build requirements, defined in the foobar.spec file.
114 .fi
115 .sp
116 .TP
117 .B \fBdnf builddep foobar\-1.0\-1.src.rpm\fP
118 .nf
119 Install the needed build requirements, defined in the foobar\-1.0\-1.src.rpm file.
120 .fi
121 .sp
122 .TP
123 .B \fBdnf builddep foobar\-1.0\-1\fP
124 .nf
125 Look up foobar\-1.0\-1 in enabled repositories and install build requirements for its source rpm.
126 .fi
127 .sp
128 .TP
129 .B \fBdnf builddep \-D \(aqscl python27\(aq python\-foobar.spec\fP
130 .nf
131 Install the needed build requirements for the python27 SCL version of python\-foobar.
132 .fi
133 .sp
134 .TP
135 .B \fBdnf builddep \-\-without=selinux foobar.spec\fP
136 .nf
137 Install the needed build requirements except those for optional SELinux support.
138 .fi
139 .sp
140 .UNINDENT
141 .SH AUTHOR
142 See AUTHORS.md in dnf5 source distribution.
143 .SH COPYRIGHT
144 Contributors to the dnf5 project.
145 .\" Generated by docutils manpage writer.
146 .