- Lab
- A Cloud Guru
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.*
Path 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:
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.