This tutorial will guide you to install YUM on a CentOS 5.3 Server.

================
Login as root in SSH Command Prompt of your VPS

Run these commands
Code: 
mkdir temp && cd temp

wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/expat-1.95.8-8.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/libxml2-2.6.26-2.1.2.7.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.7.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/m2crypto-0.16-6.el5.3.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-2.4.3-24.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/readline-5.1-1.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-libs-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-python-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/sqlite-3.3.6-2.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm
This will download all the RPMs needed to install YUM
=================

Now run these commands to install those RPMs
Code: 
rpm -Uvh elfutils-0.137-3.el5.i386.rpm
rpm -Uvh elfutils-libs-0.137-3.el5.i386.rpm
rpm -Uvh elfutils-libelf-0.137-3.el5.i386.rpm
rpm -Uvh expat-1.95.8-8.2.1.i386.rpm
rpm -Uvh gmp-4.1.4-10.el5.i386.rpm
rpm -Uvh libxml2-2.6.26-2.1.2.7.i386.rpm
rpm -Uvh libxml2-python-2.6.26-2.1.2.7.i386.rpm
rpm -Uvh m2crypto-0.16-6.el5.3.i386.rpm
rpm -Uvh python-2.4.3-24.el5.i386.rpm
rpm -Uvh python-elementtree-1.2.6-5.i386.rpm
rpm -Uvh python-iniparse-0.2.3-4.el5.noarch.rpm
rpm -Uvh python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -Uvh python-urlgrabber-3.1.0-5.el5.noarch.rpm
rpm -Uvh readline-5.1-1.1.i386.rpm
rpm -Uvh rpm-4.4.2.3-9.el5.i386.rpm
rpm -Uvh rpm-libs-4.4.2.3-9.el5.i386.rpm
rpm -Uvh rpm-python-4.4.2.3-9.el5.i386.rpm
rpm -Uvh sqlite-3.3.6-2.i386.rpm
rpm -Uvh yum-3.2.19-18.el5.centos.noarch.rpm
rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
rpm -Uvh yum-metadata-parser-1.1.2-2.el5.i386.rpm
This will install all those downloaded RPMs
Most of the RPMs would be installed by default, but it is a must to have the Latest Versions for installing YUM.

===========================
Now update the YUM by running this command
Code: 
yum update yum
OR
Code: 
yum -y update
===========================

Congratulations, you have successfully installed & configured YUM on your CentOS 5.3 Server.

Tutorial By - Plutost
-------------
Original Tutorial for CentOS 5.2 by Eric
Modified Tutorial for CentOS 5.3 by Plutost
Plutost Reviewed by Plutost on . Installing YUM on CentOS 5.3 This tutorial will guide you to install YUM on a CentOS 5.3 Server. ================ Login as root in SSH Command Prompt of your VPS Run these commands mkdir temp && cd temp wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm Rating: 5