1YUM-BUILDDEP(1)                dnf-plugins-core                YUM-BUILDDEP(1)
2
3
4

NAME

6       yum-builddep - redirecting to DNF builddep Plugin
7
8       Install  whatever  is needed to build the given .src.rpm, .nosrc.rpm or
9       .spec file.
10
11       WARNING:
12          Build dependencies in a package (i.e. src.rpm)  might  be  different
13          than  you  would expect because they were evaluated according macros
14          set on the package build host.
15

SYNOPSIS

17       dnf builddep <package>...
18

ARGUMENTS

20       <package>
21              Either path to .src.rpm, .nosrc.rpm or  .spec  file  or  package
22              available in a repository.
23

OPTIONS

25       All  general  DNF  options  are accepted, see Options in dnf(8) for de‐
26       tails.
27
28       --help-cmd
29              Show this help.
30
31       -D <macro expr>, --define <macro expr>
32              Define the RPM macro named macro to the value expr when  parsing
33              spec files.
34
35       --spec Treat arguments as .spec files.
36
37       --srpm Treat arguments as source rpm files.
38
39       --skip-unavailable
40              Skip  build  dependencies  not  available  in  repositories. All
41              available build dependencies will be installed.
42
43       Note that builddep command does not honor the --skip-broken option,  so
44       there is no way to skip uninstallable packages (e.g. with broken depen‐
45       dencies).
46

EXAMPLES

48       dnf builddep foobar.spec
49              Install the needed  build  requirements,  defined  in  the  foo‐
50              bar.spec file.
51
52       dnf builddep --spec foobar.spec.in
53              Install  the needed build requirements, defined in the spec file
54              when filename ends with something different than .spec.
55
56       dnf builddep foobar-1.0-1.src.rpm
57              Install the needed  build  requirements,  defined  in  the  foo‐
58              bar-1.0-1.src.rpm file.
59
60       dnf builddep foobar-1.0-1
61              Look  up  foobar-1.0-1 in enabled repositories and install build
62              requirements for its source rpm.
63
64       dnf builddep -D 'scl python27' python-foobar.spec
65              Install the needed build requirements for the python27 SCL  ver‐
66              sion of python-foobar.
67

AUTHOR

69       See AUTHORS in your Core DNF Plugins distribution
70
72       2021, Red Hat, Licensed under GPLv2+
73
74
75
76
774.0.24                           Oct 21, 2021                  YUM-BUILDDEP(1)
Impressum