In this article, we will have explained the necessary steps to install and configure Gnome GUI on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
GNOME is a highly intuitive and user-friendly desktop environment for CentOS-based systems. If you installed CentOS without GUI but now need GUI because of GUI required applications and so on, Install Desktop Environment like follows.
Install Gnome GUI on CentOS
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
sudo dnf update
Step 2. Install GNOME Desktop.
The GNOME package is provided by the “Server with GUI” or “Workstation” package group. To install it, log into the CentOS 8 system, then run the following
dnf command to view the available packages:
sudo dnf group list
Depending on your system type, you can choose one to install the GNOME desktop environment as follows:
sudo dnf groupinstall "Server with GUI" #run this on a server environment OR sudo dnf groupinstall "Workstation" #to setup a workstation
Once the GNOME desktop installation is completed the change default boot to graphical run level. This will ensure that next time you reboot the system, the system will boot to GUI which in this case is GNOME:
systemctl set-default graphical
Reboot the system to boot into the graphical model:
After the system boots, you will access the GNOME login interface, click on the username and enter your password to log in.
Congratulation, you have learned how to install and configure Gnome on CentOS 8. For further reading on GNOME, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.