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

Managing Packages with RPM
The Red Hat Package Manager (RPM) was the main mechanism for installing and interacting with packages on Red Hat-based hosts prior to the adoption of more robust tools like YUM and DNF. Although YUM and DNF provide more functionality, they still use the RPM utility to manage packages on the backend. In this hands-on lab, you will be tasked with using RPM to install, upgrade, and remove packages on a Linux host. *This lab is not approved or sponsored by Red Hat.*

Lab Info
Table of Contents
-
Challenge
Remove RPM Packages
- Remove the
nmap
andtelnet
packages. - Remove the
mysql
package and all of its dependencies. This includes the following packages:mysql
,mariadb-connector-c-config
, andmysql-common
.
- Remove the
-
Challenge
Install and Upgrade RPM Packages
- Install the following RPM packages:
htop-3.2.1-1.el8.x86_64.rpm
andmtr-0.92-3.el8.x86_64.rpm
. - Upgrade the
wget
package from version 1.19.5 release 7 (wget-1.19.5-7.el8
) to version 1.19.5 release 10 (wget-1.19.5-10.el8
). - Install the
nginx
package and all its dependencies. The RPM files are located in/home/cloud_user/nginx
. This should be done using a wildcard.
- Install the following RPM packages:
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.