Upgrading 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.

Overview

Under CentOS, installed packages can be updated to their most current version via the "yum" command using the "update" option for that. For instance, the following can be used replacing PACKAGE with the official name of the package to update:

sudo yum update PACKAGE

If there is a new version available, a report showing the new version to be installed, any dependency updates and the amount of disk space used will be displayed. Enter 'y' at the prompt to confirm the update.

The new software will be installed. That can take a few minutes depending upon the software selected.

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