YUM-BUILDDEP(1)
β¨ YUM-BUILDDEP π
okay so bestie, welcome to the yum-builddep(1) page from dnf-plugins-core β this one is literally just redirecting you to the DNF builddep Plugin, and honestly? iconic behavior. π
πΈ NAME πΈ
yum-builddep β redirecting to the DNF builddep Plugin π¦
It installs whatever you need to build the given .src.rpm, .nosrc.rpm or .spec file. no cap, that's the whole gig.
β οΈ WARNING: build dependencies in a package (i.e. src.rpm) might be different than you would expect, because they were evaluated according to macros set on the package build host. so like... the machine that built it had its own vibe and you're inheriting it π don't come for me about it.
β¨ SYNOPSIS β¨
dnf builddep <package>...
π«Ά ARGUMENTS π«Ά
<package>β either a path to a.src.rpm,.nosrc.rpmor.specfile, or a package that's available in a repository. pick your fighter π
π OPTIONS π
all general DNF options are accepted, see Options in dnf(8) for details β slay, go read that one too.
--help-cmdβ show this help. that's it. that's the whole option. π-D <macro expr>,--define <macro expr>β define the RPM macro named macro to the value expr when parsing spec files. does not apply for source rpm files, so don't try it there π--specβ treat arguments as.specfiles.--srpmβ treat arguments as source rpm files.--skip-unavailableβ skip build dependencies that aren't available in repositories. all the available build dependencies will still be installed, so you're not losing out fr fr β¨
π heads up: thebuilddepcommand does not honor the--skip-brokenoption, so there is literally no way to skip uninstallable packages (e.g. with broken dependencies). that's just the situation. periodt.
π EXAMPLES π
dnf builddep foobar.spec install the needed build requirements, defined in the foobar.spec file. classic. π
dnf builddep --spec foobar.spec.in install the needed build requirements defined in the spec file when the filename ends with something different than .spec β like .spec.in, which is giving "I'm a spec file but make it mysterious" π§
dnf builddep foobar-1.0-1.src.rpm install the needed build requirements, defined in the foobar-1.0-1.src.rpm file.
dnf builddep foobar-1.0-1 look up foobar-1.0-1 in enabled repositories and install build requirements for its source rpm. detective mode π
dnf builddep -D 'scl python27' python-foobar.spec install the needed build requirements for the python27 SCL version of python-foobar. macro moment π
π AUTHOR π
see AUTHORS in your Core DNF Plugins distribution π«Ά
π COPYRIGHT π
2014, Red Hat, Licensed under GPLv2+ π
okay that's the whole page bestie, go build something cute πΈ
β this was yum-builddep(1) from 4.10.1, dated Mar 28, 2025. mwah, bye πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: yum-utils 4.10.1-bp160.1.7 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms