Linux

Multiple Ways To Install Security Updates On RedHat And CentOS

Multiple Ways To Install Security Updates On RedHat And CentOS
Written by itsubuntu

Last modified on May 24th, 2020 at 04:54 am

Insight: Multiple Ways To Install Security Updates On Red Hat (RHEL) And CentOS Systems.

In this tutorial, we are going to show you the multiple ways to install security updates on RHEL and CentOS operating system.

Basically, we will use four different methods to install security updates on RedHat and CentOS operating systems.

Multiple Ways To Install Security Updates On RedHat And CentOS

Method 1:

Install Entire Errata Updates In RedHat And CentOS System.

Run the following command to install all available security updates on RedHat and CentOS. It will install the last available version of any package with at least one security errata along with non-security errata if there is a more updated version of the specific package.

yum update --security

Install Only Security Updates In Red Hat And CentOS System.

Run the following command to install those packages that have a security errata.

yum update-minimal --security

Install Security Update Using CVE reference In Red Hat And CentOS System

Run the following command, If you would like to install a security update using a CVE reference

yum update --cve 

yum update --cve CVE-2019-0123

Install Security Update Using Specific Advisory In Red Hat And CentOS System

Run the following command, if you want to apply only a specific advisory to your RHEL and CentOS operating system.

yum update --advisory=

yum update --advisory=RHSA-2019:0123

About the author

itsubuntu

Leave a Comment