1. Home
  2. pairCloud
  3. Operating Systems
  4. Upgrading Packages CentOS

Upgrading Packages CentOS

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 April 4, 2018

Related Articles