Install GUI on CentOS / RHEL

You installed CentOS 8 / RHEL 8 as a minimal server, but you now want to add graphical user interface to it – here is quick tutorial on how to do it.

First, we need to list available package groups:

yum group list

We need to install “Server with GUI”

Next command we are going to use is:

yum groupinstall "Server with GUI"

You will be ask to approve installation – confirm with y

Download follows…

And then installation…

And finally, after some time – complete!

Next, we will issue a command that will enable our CentOS 8 / RHEL 8 install to boot by default into graphical interface

systemctl set-default graphical
reboot

After reboot you should be greeted with GUI

One more success :)

Disclaimer