dnf builddep
Install dependencies to build a given package. Not default to
dnfbut supported viadnf-plugins-core. More information: https://dnf-plugins-core.readthedocs.io/en/latest/builddep.html.
- Install dependencies for a given package:
dnf builddep
- Install dependencies for a given package but ignore unavailable:
dnf builddep --skip-unavailable
- Define the RPM macro to a given expression:
dnf builddep ''
- Define an argument for a
.specfile path:
dnf builddep --spec
- Define an argument for a
.rpmfile path:
dnf builddep --srpm
- Display help:
dnf builddep --help-cmd
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
