Hands-on Lab·Red Hat Certified System Administrator
Package Management with dnf
Two objectives, and the install and remove halves take about a minute each. The part worth practising is searching: an exam task tells you to configure something and does not tell you which package provides it, and `dnf provides` is how you find out on a machine with no internet.
Managing Software Guide 12 of 67 Beginner
- OSRHEL 10.0 (Coughlan)
- Kernel6.12.0-55.9.1.el10_0
- dnf4.20.0
- Flatpak1.16.0
- TimeAbout 13 min
- Reviewed23 August 2026
Written against the versions above. RHEL 10 ships **dnf 4.20.0**, not DNF 5 - the binary is `/usr/bin/dnf-3`. It also has **no modularity**: there are no AppStream module streams or profiles on this release, so `dnf module` commands that fill older RHCSA material have nothing to act on. See {{guide:dnf-history-and-updates}}.
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| RHCSA-A01 | 192.168.0.31 | RHEL 10.0 (Coughlan) | Practice node (graded) - spare /dev/sda | 2 Core | 4 GB | 50 GB + 15 GB |
Before you start
- A sudo-capable account and a working repository.
- The session installs and removes
tree.
-
The machine this guide assumes
-
Installing
-
Which package provides this?
-
Searching and inspecting
-
Groups
-
Removing