Wednesday, October 20, 2010

Update :: install yum on centos-5-x86_64

import key:
Code:

rpm --import http://mirror.centos.org/centos-5/5/os/x86_64/RPM-GPG-KEY-CentOS-5http://mirror.centos.org/centos-5/5/os/x86_64/RPM-GPG-KEY-CentOS-5

Install needed dependencies for yum:



***NOTE***
You need to install rpm-python with --nodeps
and m2crypto needs to be installed before python-urlgrabber.
***NOTE***

Code:

rpm -Uhv http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm
rpm -Uhv http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm
rpm -Uhv http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/rpm-python-4.4.2-47.el5.x86_64.rpm --nodeps
rpm -Uhv http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/m2crypto-0.16-6.el5.1.x86_64.rpm
rpm -Uhv http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm
rpm -Uhv http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/yum-metadata-parser-1.0-8.fc6.x86_64.rpm

Now yum can be installed:
Code:

rpm -Uhv http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/yum-3.0.5-1.el5.centos.5.noarch.rpm

I have not tested it with cPanel, so I don't know if anything changed with that. I am currently using webmin/virtualmin and like better. There is an install script here if it interests anyone.

No comments:

Post a Comment

My Mine