Table of Contents
CentOS is a Linux distribution that provides a free and open-source community-supported computing platform, functionally compatible with its upstream source, Red Hat Enterprise Linux.
How to Install GUI on CentOS 8 Minimal Linux Server
GNOME is a free and open-source desktop environment for Linux operating systems. GNOME was originally an acronym for GNU Network Object Model Environment, but the acronym was dropped because it no longer reflected the vision of the GNOME project.
Step 1. Update System Packages
dnf update -y
Step 2. List available environment groups
Check package group list for GNOME GUI Packages:
# dnf grouplist
# dnf grouplist Available Environment Groups: Server with GUI Server Workstation KDE Plasma Workspaces Virtualization Host Custom Operating System Installed Environment Groups: Minimal Install Installed Groups: Container Management Headless Management Available Groups: .NET Core Development RPM Development Tools Development Tools Graphical Administration Tools Legacy UNIX Compatibility Network Servers Scientific Support Security Tools Smart Card Support System Tools Fedora Packager
Step 3. Installing Gnome Desktop environment
If you intended to install Gnome GUI then under the available environment group you can see two packages:
“Server with GUI” and “Workstation“.
Those have installed the command-line server environment, use this command:
# dnf groupinstall "Server with GUI"
However, for workstation deployment use this command:
# dnf group install "Workstation"
Step 4. Set system to Graphical mode
Execute the following command if you want to boot your system in GUI mode-
# systemctl set-default graphical
After that restart your system