以下、インストール手順。
必要なrpmをダウンロードして、インストール。
cd /usr/local
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.22-40.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-iniparse-0.2.3-6.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-4.el5.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/m2crypto-0.16-9.el5.x86_64.rpm
rpm -ihv python-elementtree-1.2.6-5.x86_64.rpm
rpm -ihv python-iniparse-0.2.3-6.el5.noarch.rpm
rpm -ihv python-sqlite-1.1.7-1.2.1.x86_64.rpm
rpm -ihv m2crypto-0.16-9.el5.x86_64.rpm
rpm -ihv python-urlgrabber-3.1.0-6.el5.noarch.rpm
rpm -ihv yum-metadata-parser-1.1.2-4.el5.x86_64.rpm
rpm -ihv yum-3.2.22-40.el5.centos.noarch.rpm yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.22-40.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-iniparse-0.2.3-6.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-4.el5.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/m2crypto-0.16-9.el5.x86_64.rpm
rpm -ihv python-elementtree-1.2.6-5.x86_64.rpm
rpm -ihv python-iniparse-0.2.3-6.el5.noarch.rpm
rpm -ihv python-sqlite-1.1.7-1.2.1.x86_64.rpm
rpm -ihv m2crypto-0.16-9.el5.x86_64.rpm
rpm -ihv python-urlgrabber-3.1.0-6.el5.noarch.rpm
rpm -ihv yum-metadata-parser-1.1.2-4.el5.x86_64.rpm
rpm -ihv yum-3.2.22-40.el5.centos.noarch.rpm yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
バージョン確認
yum --version
cf.
[CentOS] yumが使えないときにyumをインストールする方法
インストール会員No.1 yumをインストール