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 system. 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.
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:
Depending on your system type, you can choose one to install the GNOME desktop environment as follows:
sudodnfgroupinstall"Server with GUI" #run this on a server environment
sudodnfgroupinstall"Workstation" #to setup a workstation
Once the GNOME desktop installation is completed the change default boot to graphical runlevel. This will ensure that next time you reboot the system, the system will boot to GUI which in this case is GNOME:
Reboot the system to boot into the graphical mode:
After the system boots, you will access the GNOME login interface, click on the username and enter your password to login.
Congratulation, you have learned how to install and configure Gnome on CentOS 8. If you have any question, please leave a comment below.