Man page - dnf4-builddep(8)
Packages contas this manual
- repo-graph(1)
- yum-groups-manager(1)
- dnf4-expired-pgp-keys(8)
- yum-config-manager(1)
- dnf4-repoclosure(8)
- dnf4-post-transaction-actions(8)
- dnf4-system-upgrade(8)
- dnf4-debuginfo-install(8)
- yum-utils(1)
- yum-debug-restore(1)
- dnf4-builddep(8)
- yum-builddep(1)
- dnf4-modulesync(8)
- yum-copr(8)
- dnf4-pre-transaction-actions(8)
- dnf4-changelog(8)
- repodiff(1)
- dnf4-versionlock(8)
- dnf4-generate_completion_cache(8)
- dnf4-reposync(8)
- dnf4-repomanage(8)
- dnf-utils(1)
- dnf4-show-leaves(8)
- yum-versionlock.conf(5)
- dnf4-config-manager(8)
- yum-changelog(1)
- yumdownloader(1)
- dnf4-download(8)
- yum-versionlock(8)
- dnf4-needs-restarting(8)
- yum-debug-dump(1)
- dnf4-groups-manager(8)
- reposync(1)
- dnf4-repograph(8)
- dnf4-copr(8)
- repoclosure(1)
- repomanage(1)
- package-cleanup(1)
- dnf4-debug(8)
- dnf4-local(8)
- dnf4-repodiff(8)
- dnf4-leaves(8)
- debuginfo-install(1)
Package: dnf-plugins-core
apt-get install dnf-plugins-core
apt-get install dnf-plugins-core
Manuals in package:
Documentations in package:
Available languages:
en ro deManual
| DNF4-BUILDDEP(8) | dnf-plugins-core | DNF4-BUILDDEP(8) |
NAME
dnf4-builddep - DNF builddep Plugin
Install whatever is needed to build the given .src.rpm, .nosrc.rpm or .spec file.
WARNING:
Build dependencies in a package (i.e. src.rpm) might be
different than you would expect because they were evaluated according macros
set on the package build host.
SYNOPSIS
dnf builddep <package>...
ARGUMENTS
- <package>
- Either path to .src.rpm, .nosrc.rpm or .spec file or package available in a repository.
OPTIONS
All general DNF options are accepted, see Options in dnf(8) for details.
- --help-cmd
- Show this help.
- -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.
- --spec
- Treat arguments as .spec files.
- --srpm
- Treat arguments as source rpm files.
- --skip-unavailable
- Skip build dependencies not available in repositories. All available build dependencies will be installed.
Note that builddep command does not honor the –skip-broken option, so there is no way to skip uninstallable packages (e.g. with broken dependencies).
EXAMPLES
- dnf builddep foobar.spec
- Install the needed build requirements, defined in the foobar.spec file.
- dnf builddep --spec foobar.spec.in
- Install the needed build requirements, defined in the spec file when filename ends with something different than .spec.
- 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.
- dnf builddep -D 'scl python27' python-foobar.spec
- Install the needed build requirements for the python27 SCL version of python-foobar.
AUTHOR
See AUTHORS in your Core DNF Plugins distribution
COPYRIGHT
2014, Red Hat, Licensed under GPLv2+
| June 20, 2025 | 4.10.1 |