Install yum priorities on CentOS

The Yum Priorities plugin can be used to enforce ordered protection of repositories, by associating priorities to repositories.

The priorities plugin is a useful tool if properly configured, and used with an understanding of the functionality and a recognition of the limitations and potential issues. It can be used in conjunction with the ‘exclude’ and/or ‘includepkg’ options, as well as the ‘enabled=0’ option to disable a repo by default. This can let you choose which packages a less important repo will supersede those of a more important one.

Install Yum Priorities

Configure Yum Priorities

Ensure the following lines exist

Save and close the file

Open the CentOS base repository configuration file

Add the following text to the end of the base, updates and extras entries

Add the following line to the end of the centosplus, contrib entries

  • Intasar Khan

    Thanks George.

  • http://www.facebook.com/fatima.noon Fatima Noon

    i cant understand what is this…