dnf how to disable repo?
To enable or disable a DNF repository, for instance while trying to install a package from it, use the --enablerepo or --disablerepo option. You can also enable or disable more than one repositories with a single command. You can also enable and disable repositories at the same time, for example.