Package management
dnf
New package manager on CentOS Stream and newer RHEL-based systems.
CentOS
Verified: 2026-02-09
Syntax
$dnf [BEFEHL] [OPTIONEN]
Optionen
-y
Bestätigt Aktionen automatisch
--refresh
Aktualisiert Metadaten vor Aktion
Examples
$sudo dnf install nginx
$sudo dnf upgrade
$dnf search podman
Typical use cases
?
Standard usage
dnf --help
Note
CentOS Stream uses the standard tool instead of the classic yum.
Export