Installing Packages CentOS

Legacy Content

This is Legacy Content. For up-to-date tutorials and information, see our current knowledge base.

Unmanaged Hosting Tutorial

We have made these tutorials available for your convenience. However, this tutorial cannot be completed on any of the current hosting packages from Pair Networks.

Tutorial

There are a number of software packages maintained for compatibility with CentOS that can be easily installed on your server via the "yum" command. Some common usages of that command are outlined at:

http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-yum-useful-commands.html

To install a package on your CentOS server, while logged in via ssh, run the following replacing PACKAGE with the official name of the package you would like to install:

sudo yum install PACKAGE

A listing of packages to be installed, including any dependencies, will be displayed. The amount of disk space required for the installation will also be displayed. Enter 'y' to proceed with the installation.

The package will then be installed. That may take a few minutes to finish depending on what is being installed.

The full usage of the yum command can be viewed at:

http://www.centos.org/docs/5/html/yum/index.html

Updated on March 3, 2020

Was this article helpful?

Related Articles