Jul
21

Installing yum on Linux VPS

Author andy18    Category Linux-related     Tags

You will need yum if you wish to install any rpms on your Linux machine. However, yum usually is not installed by default on any VPS hosting provider. In order to get this install, you will need the following rpms downloaded. If your Linux VPS is running Centos, just go to the mirror site and browse to /distro.version/os/i386/CentOS/ and grab the following to your server.

libxml2-2.6.26-2.1.2.1.i386.rpm
libxml2-python-2.6.26-2.1.2.1.i386.rpm
python-elementtree-1.2.6-5.i386.rpm
sqlite-3.3.6-2.i386.rpm
python-sqlite-1.1.7-1.2.1.i386.rpm
rpm-python-4.4.2-48.el5.i386.rpm
python-urlgrabber-3.1.0-2.noarch.rpm
yum-3.2.8-9.el5.centos.1.noarch.rpm

Install the rpms above as in order and you should have a working yum once it is done. If you are getting some warning message saying:

warning: libxml2-2.6.26-2.1.2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897

Import the RPM key by hitting:

rpm -import http://ftp.telus.net/pub/centos/RPM-GPG-KEY-CentOS-5

Post comment