How to update the yum repository on Centos 5 server

How to update the yum repository on Centos 5 server

1) yum install yum-fastestmirror

2) yum install yum-priorities

3) uname -i

If the output is i386 then

cd /usr/local/src

wget  http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

4) Install key

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

5) Install rpmforge

rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

6) yum check-update

It will take some time to update teh RPM and yum can create the  file named “primary.xml.gz”

After that you can able to install any software by using yum command
for exapmle yum install mplayer* , yum install ffmpeg etc..

In simple use directly all commands on the server.

yum install yum-fastestmirror
yum install yum-priorities
cd /usr/local/src
wget  http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum check-update


Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Recent Posts

Step-by-Step Guide to Implementing a CDN for WordPress

Picture this: Your WordPress site is like that one friend who's always fashionably late to everything. You know, the one…

5 days ago

The Truth Behind AI Detectors: Trust or Distrust?

In a world where artificial intelligence is rapidly reshaping our digital landscape, AI detectors have emerged as both guardians and…

2 weeks ago

What are the advantages of using VPS for e-learning?

In today's digital age, e-learning has become more than just a convenience – it's a necessity. As virtual classrooms and…

3 weeks ago

Updated cPanel License Price in Jan 2025: A Comprehensive Guide

Are you ready for another cPanel price adjustment? As we have approached January 2025, cPanel has rolled out significant changes…

2 months ago

Finding Your Fit: Website Builder or WordPress for Your Site?

In this growing digital world, having a website is not enough—it’s a crucial and much-needed option. But here's the challenge…

2 months ago