To disable a Yum repository, run the following command as root:
yum-config-manager--disablerepository…
…where repository is the unique repository ID (use yum repolist all to list available repository IDs). Similarly to yum-config-manager --enable,
you can use a glob expression to disable all matching repositories at the same time:
yum-config-manager--disableglob_expression…
When successful, the yum-config-manager --disable command displays the current configuration.
