Managing Packages and Using Application Streams in RHEL 8

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Package management is an important function in RHEL 8 systems. From the day a well-maintained system comes online, to the day it’s decommissioned, packages are installed, removed and updated on a regular basis. In this hands-on lab, we will install and update software packages on RHEL 8. We will also be working with a newer concept to RHEL 8, Application Streams. Application Streams allow multiple versions of user space components, providing more flexibility to customize RHEL 8 while maintaining system and application stability. In this lab, we will work with package module streams in RHEL 8.

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

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install and Update Software Packages from the Red Hat Network, a Remote Repository, and from the Local File System
  1. Query if a package is installed.
  2. Query the yum repo for the package.
  3. Get info about the package.
  4. Install the package from local, remove, and reinstall from online repo.
  5. Query the package for a list of installed files.
Work with Package Module Streams
  1. Query available modules and gather information.
  2. Test Install Various Applications/Profiles/Versions.
  3. Install a Package with a Specific Version/Profile.
  4. De-install and Install another Version/Profile.
  5. Verify the Package Installation.

Additional Resources

In this lab, you are a sysadmin who wants to perform some simple package management tasks with a specific package, and then investigate the options for getting your packages from online repositories, so that updates and security patches are easily available

The system you have inherited doesn't appear to have any software repos configured on it. You have a local copy of the package you want to install, but you have been instructed to configure the system with the online repository and install from there, so that updates will be distributed automatically when you perform an update.

You'll need to take the supplied repository information below, and configure a repository, that you then can query for a particular package and perform common package management tasks upon.

Red Hat Exam Requirements Covered:

  • Install and update software packages from Red Hat Network, a remote repository, or from the local file system.
  • Work with package module streams.

REPOSITORY INFO:

The name of the repository you'll be configuring is: epel. It's longer and optional name would be Extra Packages for Enterprise Linux.

The URL for the repository is: https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch, and there is no gpg key needed.

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?