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.rpm or .spec file, 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 .spec files.
  • --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: the builddep command does not honor the --skip-broken option, 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 🫢

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