This article covers how to easily migrate to Rocky Linux 8.4 from CentOS 8. Rocky Linux is a community enterprise operating system designed to be 100% compatible with RedHat Enterprise Linux. Rocky Linux dev team has created a migration script called migrate2rocky to easily convert an existing CentOS 8 system to Rocky Linux 8.
To Upgrade the current CentOS 8 Linux system to latest available version, run the command:
$ sudo dnf --refresh upgrade
After update is completed, Reboot your system:
$ sudo reboot