yum

rpmforge を一時的に有効にしてインストール


 # yum --enablerepo=rpmforge install foo

yum自体のインストール

cd /usr/local/src/
rpm –import http://ftp.iij.ad.jp/pub/linux/centos/5.4/os/i386/RPM-GPG-KEY-CentOS-5

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/yum-3.2.22-33.el5.centos.noarch.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/m2crypto-0.16-6.el5.8.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/rpm-python-4.4.2.3-22.el5.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/rpm-python-4.4.2.3-22.el5.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/rpm-4.4.2.3-22.el5.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/popt-1.10.2.3-22.el5.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/rpm-libs-4.4.2.3-22.el5.i386.rpm

wget http://ftp.iij.ad.jp/pub/linux/centos/5.6/os/i386/CentOS/libxml2-2.6.26-2.1.2.8.el5_5.1.i386.rpm



rpm -Uvh *