2009
08.29

If  you want to get the entire world of opensource software on your centos machine,  you might want to enable support for multiple repositories.

The question is which takes priorities – Aha! that is when yum-priorities come into picture…

Here is how to install and configure

  • Install the priorities package – “yum install yum-priorities”
  • Edit the .repo files in /etc/yum.repos.d/ and set up priorities by adding the line: “priority=n” where n is the priority
  • CentOS documentation recommends the following:
      [base], [addons], [updates], [extras] ... priority=1
      [centosplus],[contrib] ... priority=2
      Third Party Repos such as rpmforge ... priority=N  (where N is > 10 and based on your preference)

No Comment.

Add Your Comment