- Lab
- A Cloud Guru
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.*
Path 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
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.