RedHat Package Managers (yum & dnf)
Concept & Overview
Not all Linux environments are based on Debian/Ubuntu. If you work on RedHat, Fedora, or CentOS systems, you won't find apt or dpkg. Instead, you'll manage packages using older yum or modern dnf (Dandified YUM) package managers.
- The dnf check-update (or yum check-update) command connects to RedHat repositories to scan for available package updates.
- The dnf install command fetches and installs programs similar to apt install.
dnf check-update (or yum check-update).Command Syntax Reference
| Command / Syntax | Description |
|---|---|
dnf check-update | Check for RedHat package updates |
yum check-update | Check for legacy CentOS updates |
Verification Objectives
These conditions will be automatically verified when you run commands inside the interactive terminal simulator:
- ○Run dnf check-update or yum check-update
Ready to complete Quest 46?
Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.