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