Red Hat Bugzilla – Bug 186022
Specify single repo
Last modified: 2014-01-21 17:53:52 EST
In Yum, I think it would be quite useful to be able to specify a single repo to
get a package from for quicker installation. It'd be kind of like the
--enablerepo=repo and --disablerepo=repo switches, but it would disable all
repos but the one specified.
yum --disablerepo='*' --enablerepo=whateverepoyouwant
I don't see a need to add anything beyond that.