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: