Checking For and Updating Packages
To see which installed packages on your system have updates available, use the following command:
yum check-update
Updating Packages
You can choose to update a single package, multiple packages, or all packages at once. If any dependencies of the package (or packages) you update have updates available themselves, then they are updated too.
Updating a Single Package
To update a single package, run the following command as root:
yum update package_name
Updating All Packages and Their Dependencies
To update all packages and their dependencies, simply enter yum update (without any arguments):
yum update