Updating Software on Linux

1 hour
  • 2 Learning Objectives

About this Hands-on Lab

In this lab, you will install the `yum` security plugin. You will then use various `yum` commands to check for different levels of security updates. You will also update the software on the server.

>**Note:** The lab startup page has changed and is different from what you see in the video. Please use the provided credentials from the new lab environment to log in.
>

*This course is not approved or sponsored by Red Hat.*

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install the yum Security Plugin

Install the yum security plugin, and run additional yum update commands.

Use yum update Commands to View Updates by Severity

Use the yum update and yum updateinfo list commands with different options and to view packages based on their severity level.

Additional Resources

Note: In the lab video, 2 servers are shown, but only 1 server is available in the learning environment. The commands are identical between the 2 servers.

You have been asked to check the server to see if there are any pending updates. You'll use various commands to examine if any software needs to be updated.

Your manager wants a list of the software that needs updates (if any), so you need to export it to a file. Later on, this file will be emailed to your manager for their records.

Use the following commands, and print the output to a file. You may use any method to get the information in a file:

yum install yum-plugin-security

yum updateinfo

yum updateinfo list

yum updateinfo list --sec-severity=Critical

yum updateinfo list --sec-severity=Moderate

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?