Pages

Thursday, April 19, 2012

Setting Priority for YUM Repositories

In the current phase of installing Linux, I find it downloads too many packages off the Internet. Having a limited network connection and an installation DVD at hand, this is not my preferred way of doing things.
Fortunately, there is a way to set priorities to yum repositories. It requires installing "yum-plugin-priorities" package and then simply adding a line
priority = N
to the repository config file in /etc/yum.repos.d. N is a number between 1 and 99, where 1 is the highest value and 99 the lowest.

source: link

No comments: