How To Install GNOME GUI On CentOS 7

How To Install GNOME GUI On CentOS 7

Linux administrators are avid users of text interface and spend most of their time working in a terminal. Sometimes, there is a need for a graphical interface to work like having an application that requires a graphical environment or for a newbie who is not well versed with the command line.

By default, when you install CentOS 7, it is installed as the minimal server unless you change the installation type.

This guide will help you install Gnome desktop on CentOS 7 on the top of the minimal server installation.

Package Groups

Package groups let you install applications for the predefined working environment. Example: The Basic Web Server group installs all packages you need for setting up a web server.

Run the yum command to list the available package groups for your machine.

yum group list
Loading mirror speeds from cached hostfile * base: * extras: * updates: Available Environment Groups: Minimal Install Compute Node Infrastructure Server File and Print Server Basic Web Server Virtualization Host Server with GUI GNOME Desktop KDE Plasma Workspaces Development and Creative Workstation Available Groups: Compatibility Libraries Console Internet Tools Development Tools Graphical Administration Tools Legacy UNIX Compatibility Scientific Support Security Tools Smart Card Support System Administration Tools System Management Done

Install GNOME Desktop

Install Gnome GUI group packages using the YUM command.

yum groupinstall "Server with GUI"

Press y to confirm the installation.

policycoreutils x86_64 2.5-29.el7_6.1 updates 916 k python-firewall noarch 0.5.3-5.el7 base 331 k selinux-policy-targeted noarch 3.13.1-229.el7_6.9 updates 6.9 M systemd x86_64 219-62.el7_6.5 updates 5.1 M systemd-libs x86_64 219-62.el7_6.5 updates 407 k systemd-sysv x86_64 219-62.el7_6.5 updates 84 k

Transaction Summary

Install 276 Packages (+745 Dependent packages) Upgrade 1 Package (+ 36 Dependent packages)

Total download size: 842 M Is this ok [y/d/N]: y Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. (1/1058): NetworkManager-adsl-1.12.0-10.el7_6.x86_64.rpm | 157 kB 00:00:01

Set Default Target

In CentOS 7, systemd uses targets instead of run level we use in CentOS 6. So, issue the following command to make Graphical Window as the default target.

ln -sf /lib/systemd/system/ /etc/systemd/system/

Reboot the system to start the CentOS 7 in the graphical mode.


Post Activities

You may need to do some post tasks like setting time zone, creating the regular user (local account), language, etc.

Finally, you will get the desktop.

GNOME Graphical Desktop on CentOS 7


You have learned how to install Gnome GUI on CentOS 7 to get the graphical desktop. You can further install VNC Server on CentOS 7 to take remote desktop from external machines.

comments powered by Disqus