CertGrid CertGrid
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

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}}.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0 (Coughlan)Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

Before you start

  1. The machine this guide assumes

  2. Installing

  3. Which package provides this?

  4. Searching and inspecting

  5. Groups

  6. Removing

Official sources