Installing YUM on a (dv) Dedicated-Virtual Server
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.
READ ME FIRST
Please keep in mind that software that does not come installed by default on your (dv) Dedicated-Virtual Server is not supported by (mt) Media Temple. This includes YUM itself, although the following instructions have been tested on a standard (dv) Dedicated-Virtual Server. It also includes software that can be installed with YUM.
Updating, uninstalling, or reconfiguring core services on your (dv) Dedicated-Virtual 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) Dedicated-Virtual 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) Dedicated-Virtual Server.
For additional help with YUM in a Plesk environment, please consult the Parallels forums.
YUM already installed
YUM comes pre-installed on all DV Managed and (dv) 4.0 servers.
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
For further reading: