(dv) 3.0:Install YUM

  • This page was last modified on May 7, 2012, at 13:17.
The (mt) Community Wiki is a collaborative project. Any (mt) Media Temple customer or employee may contribute. Not all articles and/or content have been tested for accuracy by (mt) Media Temple.

For officially moderated and tested articles, be sure to visit our KnowledgeBase.

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

Instructions

  • Verify your CentOS version using the following command:
    cat /etc/*release*
    

    If your CentOS version is 4.6, then proceed to the following step.

  • Install YUM and all dependencies. You can run each line separately if you want to confirm it separately as it prompts your download and installation, or you can copy and paste the whole string of commands and they should execute one after the other.

    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.

  • YUM is now installed.