To add such a repository to your system and enable it, run the following command as
root:yum-config-manager --add-repo repository_urlExampleyum-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--enablerepository…
Example
yum-config-manager --enable exampleTo disable a Yum repository, run the following command asroot:yum-config-manager--disablerepository…
Example yum-config-manager --disable example
Comments
Post a Comment