Software with dnf / yum.
dnf (the modern successor to yum, drop-in compatible) manages everything from a single package to whole groups of related software. Watch a transaction take shape, then learn how to revert it, manage repos, and pick module streams.
dnf and yum package management animated tutorial. Search, install, remove, list, info, repo files, package groups, module streams, transaction history with rollback. RHCSA EX200 ready.RHEL's package manager. Watch a transaction take shape, then learn the rollback, repo, and module commands that save you when things go sideways.
- Β·Comfortable running commands as root
- Β·Helpful: vague idea what an RPM is
- Β·Know what a software dependency is
Install, upgrade, and remove with full transaction awareness; manage repos; pick module streams; undo any transaction with dnf history.
pace: 9 minutes
nginx.x86_64 : A high performance web server β¦
Search and inspect first
Before installing anything, find out what's available and what it actually does. `dnf search <term>` matches names and summaries; `dnf info <pkg>` shows the version, size, repo, license, and description. `dnf list --installed` shows what's already on the box. These read-only commands take zero risk.
$dnf search nginx$dnf info nginx$dnf list installed | grep ssh$dnf provides /usr/bin/ssTwo habits separate fluent admins from frantic ones: read the transaction preview before typing y, and treat dnf history as your time machine. Every install/upgrade/remove is one numbered entry; undo and rollback work on any of them. You almost never need to "reinstall the OS".
$dnf search TERM$dnf info PKG$dnf provides /path/or/cmd$dnf install PKG$dnf install -y PKG$dnf remove PKG$dnf reinstall PKG$dnf upgrade [PKG]$dnf upgrade --security$dnf list installed$dnf history / info / undo / rollback$dnf repolist$dnf config-manager --set-enabled crb$dnf group list / groupinstall 'X'$dnf module enable nodejs:20$/etc/yum.repos.d/*.repoAfter an upgrade, a service stops working. What's the fastest dnf-native way to revert?
What's a dnf MODULE STREAM and why use it?
Where do repository definitions live?
What does `dnf provides /usr/bin/ss` tell you?
These aren't graded β they're just for active recall, which is what actually makes the lesson stick.
Package managers cheat sheet
Same command translated across dnf, apt, zypper, pacman β for when you switch distros and your muscle memory lies.
keep going β these pair well with what you just learned.
SELinux contexts
Why Apache can't read your file. Watch the policy engine decide β and learn the workflow for fixing denials. RHCSA-ready.
Linux boot process
From power button to login prompt. Every stage in the chain β UEFI, GRUB, kernel, initramfs, systemd β with the rescue moves that save you. RHCSA-ready.
LVM stacking
Layer-by-layer build of an LVM stack: disks β PVs β VG β LVs β filesystem. Then extend live and snapshot. RHCSA-ready.