The GNOME desktop environment is the default GUI for AlmaLinux, but it doesn't always come pre-installed, for example if you opted for a minimal install. In this guide, we'll give you the commands you need in order to install GNOME on AlmaLinux.
1. AlmaLinux makes GNOME easy to install with yum group packages. Enter the following command to install all of the packages required to run GNOME.
$ sudo yum groupinstall "Server with GUI"
2. Once GNOME has finished installing, you can change the default systemd target to graphical.target if you want GNOME to launch automatically at boot. Then, reboot to load into GNOME.
$ sudo systemctl set-default graphical.target $ reboot
3. If you're not going to set GNOME to launch by default, you can always launch the GUI manually with the following systemctl command.
$ sudo systemctl isolate graphical
That's all there is to it. In this guide, we've seen how to install GNOME GUI on AlmaLinux, set it to launch at system boot, and how to launch GNOME manually.