Linux

Multiple Ways To Install Security Updates On RedHat And CentOS

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

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 intstall security updates on RedHat and CentOS operating system.

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 erratas 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

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Dear lovely people, Welcome to itsubuntu.com

Join our mailing list to receive the freebies, tutorials, latest news and updates from our team.

You have Successfully Subscribed!