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.*
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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
- 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: