dnf-builddep
install build dependencies for RPM packages
TLDR
Install build dependencies for a spec file
$ dnf builddep [path/to/specification.spec]
Install dependencies, ignoring unavailable$ dnf builddep --skip-unavailable [path/to/specification.spec]
Define RPM macro$ dnf builddep -D '[expression]'
Specify .spec file path$ dnf builddep --spec [argument]
Specify .rpm file path$ dnf builddep --srpm [argument]
SYNOPSIS
dnf builddep [options] package
DESCRIPTION
dnf builddep installs all dependencies required to build a package from its spec file or source RPM. Part of dnf-plugins-core.
Essential for building RPM packages from source.
PARAMETERS
--skip-unavailable
Ignore unavailable packages-D, --define macro
Define RPM macro--spec file
Use spec file--srpm file
Use source RPM--help-cmd
Display help
CAVEATS
Requires dnf-plugins-core. Build dependencies may include many packages. Root privileges typically required.
