Hands-on Lab·Red Hat Certified System Administrator
dnf Updates and Transaction History
Covers the "install and update software packages" objective and the one dnf feature that can rescue a task: every transaction is logged and most can be undone. It also settles a question worth settling - RHEL 10 has no modularity at all, so the module streams in RHEL 8 and 9 study material do not exist here.
Managing Software Guide 16 of 67 Intermediate
- 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. `dnf update` and `dnf upgrade` are the same command. On this machine the local mirror matches the installed versions, so `check-update` correctly reports nothing - the exit status is the part to read.
| 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 working repository.
- The session installs and removes
treeand clears the dnf cache.
-
Checking for updates
-
The transaction log
-
Undoing a transaction
-
Orphans and the cache
-
Modularity does not exist on RHEL 10