(dv) 3.0:Install YUM
- This page was last modified on May 7, 2012, at 13:17.
From (mt) Community Wiki
End of Life Warning
This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
Contents |
Overview
YUM is a package manager for CentOS, the operating system provided with your (dv) Dedicated-Virtual Server. It allows automatic software installation, including software dependencies, and updates. YUM is the recommended method for installing software on your server.
Requirements
- You must have SSH access set up for root or a sudo user.
- Please read this Parallels article regarding updating your server with YUM.
Instructions
cat /etc/*release*
If your CentOS version is 4.6, then proceed to the following step.
rpm -Uvh http://vault.centos.org/4.6/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm rpm -Uvh http://vault.centos.org/4.6/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm rpm -Uvh http://vault.centos.org/4.6/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm rpm -Uvh http://vault.centos.org/4.6/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm rpm -Uvh http://vault.centos.org/4.6/os/i386/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm rpm -Uvh http://vault.centos.org/4.6/os/i386/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm
You should see a confirmation of the download after each line.