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

Linux Swapfile

There's a more updated post here. Setup Swap on CentOS Localhost:# Check memory & swap…

How to Check System Temperature on Ubuntu 21.04

# Install sensors sudo apt update -y sudo apt install lm-sensors hddtemp -y # Setup…

OpenProject Installation on CentOS 7

Docker Implementation:   # Create database on existing SQL Server (not being used) #CREATE DATABASE…