dnf builddep
linux
Install dependencies to build a given package. Not default to `dnf` but supported via `dnf-plugins-core`. See also: `dnf`.
More info →Options (1)
-D, --definebooleanDefine the RPM macro to a given expression
Example:
dnf builddep {{[-D|--define]}} '{{expression}}'Examples (6)
Install dependencies for a given package
dnf builddep path/to/specification.specInstall dependencies for a given package but ignore unavailable
dnf builddep --skip-unavailable path/to/specification.specDefine the RPM macro to a given expression
dnf builddep [-D|--define] 'expression'Define an argument for a `.spec` file path
dnf builddep --spec argumentDefine an argument for a `.rpm` file path
dnf builddep --srpm argumentDisplay help
dnf builddep --help-cmdmade by @shridhargupta | data from tldr-pages