dnf config-manager

Manage DNF configuration options and repositories on Fedora-based systems. Not default to dnf but supported via dnf-plugins-core. See also: dnf. More information: https://dnf-plugins-core.readthedocs.io/en/latest/config_manager.html.

dnf config-manager --add-repo={{repository_url}}

dnf config-manager --dump

dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}

dnf config-manager {{[--disable|--set-disabled]}} {{repository_id1 repository_id2 ...}}

dnf config-manager --setopt={{option}}={{value}}

dnf config-manager --help-cmd