Question
What is yum-config-manager, and how is it useful in the RedHat base OSs?
Answer
The yum-config-manager command is primarily used to manage 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.