Query repositories for updates.
Section: DNF and Yum for RHEL family
Check available updates
bash
bash
sudo dnf check-updateExplanation
A safe way to inspect available package updates before applying them.
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