dnf config-manager

Manage DNF configuration options and repositories on Fedora-based systems. More information: https://manned.org/dnf-config-manager.

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

dnf config-manager --dump

dnf config-manager --set-enabled {{repository_id}}

dnf config-manager --set-disabled {{repository_id1 repository_id2 ...}}

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

dnf config-manager --help-cmd