Upgrade installed packages to latest versions.

Section: DNF and Yum for RHEL family

Upgrade packages

bash
bash
sudo dnf upgrade
Explanation

Common patching command on modern RHEL-family systems.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing DNF and Yum for RHEL family
Check available updates
Query repositories for updates.
OpenIn sheetbashsame section
Install package
Install packages with dependencies.
OpenIn sheetbashsame section
Remove package
Uninstall packages from the system.
OpenIn sheetbashsame section
Search packages
Search by name or summary.
OpenIn sheetbashsame section
Show package information
Display version and package metadata.
OpenIn sheetbashsame section
Install package group
Install a named group of packages.
OpenIn sheetbashsame section