Wednesday, December 13, 2006

Installing yum on RHEL4

RHEL4 has up2date. But yum gives more flexibility in ease of adding more respositories for packages.


mkdir /usr/local/src/yum
cd /usr/local/src/yum

download : Centos4 packages (use rpmbone.net or smthng)

python-urlgrabber-2.9.6-2.noarch.rpm
python-sqlite-1.1.6-1.i386.rpm
python-elementtree-1.2.6-4.i386.rpm
python-urlgrabber-2.9.6-2.noarch.rpm
centos-yumconf-4-4.3.noarch.rpm
yum-2.4.0-1.centos4.noarch.rpm.
sqlite-3.2.2-1.i386.rpm

rpm -Uvh *rpm

The version no. of these packages might have changed. Install the latest one. It still should work smoothly.

1 comment:

Anonymous said...

That was awesome. You rock. Thanks