- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Viewing, Installing and Removing Packages Using YUM and RPM
In this hands-on lab, you will be the `yum` and `rpm` commands to manage packages and package modules on a Red Hat 8 system. You will use the `yum` command to check for and install updates, followed by using `yum module` to install the oldest version of a specific module. You will also use `yum` to remove a previously installed package on the system. The final task will be to use `rpm` to check to see if a package is installed and then install an application using a local rpm file. *This course is not approved or sponsored by Red Hat.*

Lab Info
Table of Contents
-
Challenge
Check for Available Updates
- Use
yum
to check for available updates and review the list.
- Use
-
Challenge
Review Information for All PostgreSQL Module Stream
- Using the
yum module
command, review all available modules. - View the information for the oldest PostgreSQL stream.
- Using the
-
Challenge
Install PostgreSQL Using the Oldest Module Stream
- Use
yum module
to install the oldestPostgreSQL
stream. - Review the status of the
PostgreSQL
service.
- Use
-
Challenge
Remove an Installed Package from the System
- Check to see if
MariaDB
is installed. - Use
yum
to uninstall theMariaDB
package.
- Check to see if
-
Challenge
Use the RPM Command to Install a Local RPM package
- Check to see if the package for
wget
is installed. - Use
rpm
to install thewget
package located in the cloud_user's home directory. - Confirm wget is installed by checking the version.
- Check to see if the package for
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.