Installing YUM on a DV server


Browse by products and services

  • Applies to: DV
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: None
  • Applies to: DV 4.0
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: None

Overview

YUM is a package manager for CentOS, the operating system provided with your DV server. It allows automatic software installation, including software dependencies, and updates. YUM is the recommended method for installing software on your server.

READ ME FIRST

Please keep in mind that software that does not come installed by default on your DV server is not supported by (mt) Media Temple. This includes YUM itself, although the following instructions have been tested on a standard DV server. It also includes software that can be installed with YUM.

Updating, uninstalling, or reconfiguring core services on your DV server can break it. We highly recommend making a full backup of your server before testing configuration changes.

(mt) Media Temple makes a best effort to ensure the accuracy of all content in this article. However, it is the nature of software for new versions to be released periodically. Also, these instructions may not work on a non-default DV server. Please feel free to edit this article if you notice any inaccuracies, keeping in mind that it should reflect best practices for a default DV server.

For additional help with YUM in a Plesk environment, please consult the Parallels forums.

Instructions

YUM already installed

YUM comes pre-installed on all DV and DV 4.0 servers.

Use YUM

YUM has several options, but the basic use is installing software:

yum install PKGNAME

Substitute your desired package for PKGNAME (example: yum install postgresql).

This will download and install the most recent version of the specified software package, including any dependencies.

YUM also removes packages:

yum remove PKGNAME

Documentation and resources

Resources

For further reading: