In this article, we will have explained the necessary steps to install and configure Gnome GUI on CentOS 7. 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 and RHEL 7 based system. If you did a minimal install, then it will quickly tell you how to install GNOME GUI on a CentOS 7 using a command line options.
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.
This is as simple as installing the “GNOME Desktop” package group, which is already configured to install hundreds more packages that are required for a GUI installation:
This installation may take a bit of time (depending upon the speed of your hardware and internet connection). Allow it to complete and you will be subsequently deposited back at your terminal window. To finish up the installation, issue the command:
Step 3. Starting GNOME.
Now we’re done with the installation of GNOME and configuration of the X Window System. So let’s test it with:
However, we don’t want that every time that you start up your system, you have to enter startx to get the GUI. So let’s make it start automatically during startup. Use the following command:
Congratulation, you have learned how to install and configure Gnome on CentOS 7. If you have any question, please leave a comment below.