Posted On April 1, 2019

Adding Repositories in Centos 5.3

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Adding Repositories in Centos 5.3
yum install yum-priorities
vim /etc/yum/pluginconf.d/priorities.conf
—-
[main]
enabled=1
—-
 
Install RPMForge:
cd /home
wget
rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt  //install DAG’s GPG key
rpm -K rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm //verify package
rpm -i rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm //install
 
yum check-update
 
Setting priorities:
—-
cd /etc/yum.repos.d
dir  //to find .repo files
vim rpmforge.repo    //set priority to 3 or higher
vim /etc/yum.repos.d/CentOS-Base.repo
—-
priority=N //where N=1 to 99
—-
—- Recommended settings —-
[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)
—-

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Ubuntu Repos (Old Info)

Add this using the Software Center deb karmic free non-free   --------------------------- Add Many Repos…

Linux: How To Create XDG-MIME Association for Google Voice in Unbuntu

Google Voice is a great application that is available on IOS and Android. However, it…

How To Install Microsoft Edge on Ubuntu / Debian / Linux Mint

Step 1: Add Microsoft Repository curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpgsudo install -o root…