dnf config-manager
Manage DNF configuration options and repositories on Fedora-based systems. Not default to
dnfbut supported viadnf-plugins-core. More information: https://dnf-plugins-core.readthedocs.io/en/latest/config_manager.html.
- Add (and enable) a repository from a URL:
dnf config-manager --add-repo=
- Print current configuration values:
dnf config-manager --dump
- Enable a specific repository:
dnf config-manager
- Disable specified repositories:
dnf config-manager
- Set a configuration option for a repository:
dnf config-manager --setopt==
- Display help:
dnf config-manager --help-cmd
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
