# check for updates sudo dnf check-update # apply the updates sudo dnf upgrade # clean up, remove obsolete packages from disk (optional) sudo dnf clean packages
sudo dnf -y update
~$ sudo yum update ~$ sudo yum upgrade