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.*
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Check for Available Updates
- Use
yum
to check for available updates and review the list.
- Use
- 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
- Install PostgreSQL Using the Oldest Module Stream
- Use
yum module
to install the oldestPostgreSQL
stream. - Review the status of the
PostgreSQL
service.
- Use
- Remove an Installed Package from the System
- Check to see if
MariaDB
is installed. - Use
yum
to uninstall theMariaDB
package.
- Check to see if
- 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