Updating Software on Linux

1 hour
  • 2 Learning Objectives

About this Hands-on Lab

In this lab, we install the yum security plugin, then use the various `yum` commands to check for various levels of security `iupdates`. We also update the software on the servers.

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

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install Yum Security Plugin

Install the yum security Plugin and run additional yum commands and output the information to a file.

Use YUM UPDAT Commands to View Updates by Severity

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

Additional Resources

NOTE: In this lab video, two servers are shown, but only one server is available in this learning environment as commands are identical between the two servers.

You have been asked to check the server to see if there are any updates pending. You'll use various commands to examine what 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. This file will then later be emailed to your manager for his records.

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

yum install yum-plugin-security`

yum update info

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?