Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install and uninstall the graphical interface under CentOS

Shulou Source: shulou.com Published: 2022-06-01 15:48:06 11月12日 Update

This article focuses on "how to install and uninstall a graphical interface under CentOS". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install and uninstall the graphical interface under CentOS.

Although the system takes up less resources in text mode, sometimes it is more convenient to operate under the graphical interface, so it is necessary to learn to install the graphical interface under centos. There are two graphical interfaces, you can choose one of them, depending on which of your update sources can be installed.

Centos installation X window

The code is as follows:

# yum groupinstall'X Window System'-y

Centos installs the GNOME desktop environment

The code is as follows:

# yum groupinstall 'GNOME Desktop Environment'-y

Install KDE Desktop Environment under centos

The code is as follows:

# yum groupinstall 'KDE (K Desktop Environment)'-y

I installed it under centos myself, using the source of NetEase 163. there was no gnome and KDE, so I finally had to use X window, 69m window 191 package, really big. I am a fool here. I had hoped that the installation of yum would save some care, but it went against my wishes. I prompted that a file was missing, as long as I went to find the corresponding rpm package and install it.

The code is as follows:

# rpm package corresponding to rpm-I

RT, after installing the prompt is successful, startx can not start, report an error, er, forget it, this tomorrow to see the log, slowly do it.

There is installation, there is uninstall, we use yum installation, of course, also use yum to uninstall, otherwise delete.

Uninstall Xwindows

The code is as follows:

# yum groupremove'X Window System'-y

Uninstall the GNOME desktop environment

The code is as follows:

# yum groupremove "GNOME Desktop Environment"

Uninstall the KDE desktop environment

The code is as follows:

# yum groupremove "KDE (K Desktop Environment)"

At this point, I believe you have a deeper understanding of "how to install and uninstall the graphical interface under CentOS". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Graphics interface code desktop environment content learning tips practicality deeper success counterproductive previous generation two interest practicality practical simple operation file method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Huawei macOS NVidia Microsoft