Install security plugin for yum

Hello,

To see if this is installed and enabled, look under /etc/yum/pluginconf.d/security.conf — it should have a line that reads “enabled=1”. If not, you’ll want to enable that.

root@server01[~]#yum install yum-security -y

After you install the yum security plugin you will be able to check for only security updates.


root@server01[~]#yum --security update
Loaded plugins: presto, priorities, refresh-packagekit, security
Setting up Update Process
Resolving Dependencies
Limiting packages to security relevant ones
.....



 Yum checks for any security updates and if available, prompts for your confirmation to install them. 'yum --security update' command ignores all other updates available.
 
 Thank you.





Vishwajit Kale

Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.