LINUX How to Disabling / Enabling Yum Repository
To add such a repository to your system and enable it, run the following command as
root
:yum-config-manager
--add-repo
repository_url
Example
yum-config-manager --add-repo http://www.example.com/example.repo
To enable a particular repository or repositories,
type the following at a shell prompt asroot
:yum-config-manager
--enable
repository
…
Example
yum-config-manager --enable example
To disable a Yum repository, run the following command as
root
:
yum-config-manager
--disable
repository
…
Example
yum-config-manager
--disable
example
Comments
Post a Comment