Installing yum in CentOS 5.3
August 21st, 2009 Posted in Centos
Download rpms
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
Then run
rpm -Uvh *.rpm --force