- Lab
- A Cloud Guru
Investigating Packages with DNF
The DNF utility provides many options for locating and gaining information about installed and available packages. In this hands-on lab, you will be tasked with finding packages based on specific search criteria and the utilities and files they provide. *This lab is not approved or sponsored by Red Hat.*
Path Info
Table of Contents
-
Challenge
Search for Available Packages Based on Specific Criteria
- Search for an available package that includes a virtualization API.
- Search for an available package that includes a web server and a reverse proxy server.
- Search for a package with a utility that combines
traceroute
andping
.
-
Challenge
Find Packages That Provide Specific Utilities
- Search for a package that provides the
nmap
utility.- Once located, determine whether it's installed or available, and view additional information about the package.
- List the files provided by the package
- Search for a package that provides the
netstat
utility.- Once located, determine whether it's installed or available, and view additional information about the package.
- List the files provided by the package.
- Search for a package that provides the
-
Challenge
Find Packages That Provide or Own Specific Files
- Using the
dnf provides
command, find a package that provides thesmb.conf
file.- Determine whether or not the package is installed.
- Use the
dnf repoquery
command to view more information about the package (should be restricted to installed packages).
- Using the
dnf repoquery
command, list the package that owns the/etc/chrony.conf
file (it should be restricted to installed packages).- Using the same command for listing the package, display detailed information about the package.
- Using the
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.