$
Learn Linux handbook
en
XP:0
Quest 46Fedora
+160 XP

RedHat Package Managers (yum & dnf)

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

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.

Let's run updates on a RedHat-based simulator. Check for packages needing updates by running dnf check-update (or yum check-update).

Command Syntax Reference

Command / SyntaxDescription
dnf check-updateCheck for RedHat package updates
yum check-updateCheck 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.