Question
What is the yum-config-manager, and how is it useful on a Red Hat-based OS?
Answer
The yum-config-manager command is primarily used to manage the main yum configuration options within the /etc/yum.conf file. For example:
# yum-config-manager --setopt=installonly_limit=2 --save
When used in the above form, the configuration is written to the /etc/yum.conf file.
It is also used to enable or disable system repositories, for example:
# yum-config-manager --enable example.repo
When used in the above form, the repository configuration is saved within the /etc/yum.repos.d/ directory using the repository file "example.repo".
Comments
0 comments
Article is closed for comments.