List and Install Security Updates via YUM

You can now easily find out what security updates there are for your system (RHEL / CentOs / Fedora) by installing the ‘yum-security‘ plugin.

# yum install yum-security

To list available updates and see the relevant advisory code, use the following command:

# yum list security

To obtain information on the returned advisory codes, use the following:

# yum info-security <ADVISORY CODE>

To list updates that are security relevent, use the following:

# yum --security check-update

And finally, to install only the security update packages, use the following:

# yum update --security