How to Uninstall/Remove GNOME from CentOS/RHEL 7 – The


The GNU Network Object Model Environment, also known as GNOME, is a powerful and easy-to-use environment that consists primarily of a panel, a desktop, and a set of desktop tools with which to build program interfaces. Is. GNOME is designed to provide a flexible platform for developing powerful applications.

But sometimes, you might want to remove it and use another desktop environment like KDE. This document describes the steps required to remove “GNOME” using Yum on CentOS/RHEL 7.

Before starting the process of removing “GNOME”, take a VM snapshot or full system backup. Once installed and deeply integrated into the “GNOME” system, removing all traces will not be easy. For a completely clean system, it is recommended to reinstall it without the GUI.

To remove “GNOME” follow the steps below:

1. Modify /etc/yum.conf and add the line below:

# vi /etc/yum.conf

Comment: When you tell yum to delete a package group, it will delete every package in that group, even if those packages are members of other package groups or are dependencies of other installed packages. However, you can instruct yum to remove only packages that are not needed by any other package or group by adding Groupremove_leaf_only=1.

2. Then run the following command to remove GNOME Groups packages.

# yum groupremove 'X Window System' 'GNOME' yum groupremove "multimedia" "internet-browser" "guest-agents" "guest-desktop-agents" "x11" "print-client" "dial-up"
# yum groupinstall 'Minimal Install' 'System administration tools'
# yum groupremove 'Server with GUI' 
# yum groupremove 'Fonts' 'Graphical Administration Tools'

3. Reboot the Server:

Add comment

By Ranjan