Issue
How to enable or disable yum/dnf repo permanently?
Environment
- yum/dnf
Solution
To disable a repository, please run:
yum-config-manager --disable <repository_name>
or
dnf config-manager --disable <repository_name>
To enable a repository:
yum-config-manager --enable <repository_name>
or
dnf config-manager --enable <repository_name>
Useful links
Comments
0 comments
Please sign in to leave a comment.