Install Only Security Updates Using Yum

Loading

In a previous article we discussed how toinstall, remove, update and search for software packages using yum. In this post we discuss how to install only security updates using yum.

If you don't have enough bandwidth you might want to skip updating software packages on your Fedora Linux box. But no one should ignore security updates. Almost every software package will encounter security vulnerabilities one or the other day. As soon as these security vulnerabilities are discovered, you should take action. When the updates containing fixes for these security vulnerabilities are available, you should install them immediately.

You can check whether any security updates are available using yum. You will require the security plugin for yum.

Open the terminal and become root using su -.

Install security plugin for yum

yum install yum-security -y

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

yum --security update

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.

About the author

Sudheer is an entrepreneur and software developer. Get more from Sudheer on Twitter.


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>. The supported tag styles are: <foo>, [foo].

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.