Debian Codegraph @

upstream/fedora-44/man1/yum-builddep.1

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "YUM-BUILDDEP" "1" "Feb 25, 2026" "4.10.1" "dnf-plugins-core"
32 .SH NAME
33 yum-builddep \- redirecting to DNF builddep Plugin
34 .sp
35 Install whatever is needed to build the given .src.rpm, .nosrc.rpm or .spec file.
36 .sp
37 \fBWarning:\fP
38 .INDENT 0.0
39 .INDENT 3.5
40 Build dependencies in a package (i.e. src.rpm) might be different
41 than you would expect because they were evaluated according macros
42 set on the package build host.
43 .UNINDENT
44 .UNINDENT
45 .SH SYNOPSIS
46 .sp
47 \fBdnf builddep <package>...\fP
48 .SH ARGUMENTS
49 .INDENT 0.0
50 .TP
51 .B \fB<package>\fP
52 Either path to .src.rpm, .nosrc.rpm or .spec file or package available in a repository.
53 .UNINDENT
54 .SH OPTIONS
55 .sp
56 All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
57 .INDENT 0.0
58 .TP
59 .B \fB\-\-help\-cmd\fP
60 Show this help.
61 .TP
62 .B \fB\-D <macro expr>, \-\-define <macro expr>\fP
63 Define the RPM macro named \fImacro\fP to the value \fIexpr\fP when parsing spec files. Does not apply for source rpm files.
64 .TP
65 .B \fB\-\-spec\fP
66 Treat arguments as .spec files.
67 .TP
68 .B \fB\-\-srpm\fP
69 Treat arguments as source rpm files.
70 .TP
71 .B \fB\-\-skip\-unavailable\fP
72 Skip build dependencies not available in repositories. All available build dependencies will be installed.
73 .UNINDENT
74 .sp
75 Note that \fIbuilddep\fP command does not honor the \fI\-\-skip\-broken\fP option, so there is no way to skip uninstallable packages (e.g. with broken dependencies).
76 .SH EXAMPLES
77 .INDENT 0.0
78 .TP
79 .B \fBdnf builddep foobar.spec\fP
80 Install the needed build requirements, defined in the foobar.spec file.
81 .TP
82 .B \fBdnf builddep \-\-spec foobar.spec.in\fP
83 Install the needed build requirements, defined in the spec file when filename ends
84 with something different than \fB\&.spec\fP\&.
85 .TP
86 .B \fBdnf builddep foobar\-1.0\-1.src.rpm\fP
87 Install the needed build requirements, defined in the foobar\-1.0\-1.src.rpm file.
88 .TP
89 .B \fBdnf builddep foobar\-1.0\-1\fP
90 Look up foobar\-1.0\-1 in enabled repositories and install build requirements
91 for its source rpm.
92 .TP
93 .B \fBdnf builddep \-D \(aqscl python27\(aq python\-foobar.spec\fP
94 Install the needed build requirements for the python27 SCL version of python\-foobar.
95 .UNINDENT
96 .SH Author
97 See AUTHORS in your Core DNF Plugins distribution
98 .SH Copyright
99 2014, Red Hat, Licensed under GPLv2+
100 .\" End of generated man page.