Install (uninstall) KDE and GNOME with yum in redhat or centos

Source: Internet
Author: User
& Nbsp; wait for the system to display the installed components and installable components: # yumgrouplist if the system is installed with minimal installation at the beginning, and xwindow is not installed, install the system first: # yumgroupinstallXWindowSystem install GNOME desktop environment yumgroupinstallgnometrictopenv

Dedicated waiting

Display the components that have been installed in the system and the components that can be installed:
# Yum grouplist
If the system is installed with minimal installation at the beginning, and xwindow is not installed, first install:
# Yum groupinstall "X Window System"
Install GNOME desktop environment
Yum groupinstall "GNOME Desktop Environment"
Install the KDE desktop environment
Yum groupinstall "KDE (K Desktop Environment )"
Uninstall GNOME desktop
Yum groupremove "GNOME Desktop Environment"
Uninstall the KDE desktop environment
Yum groupremove "KDE (K Desktop Environment )"

Default Desktop selection
Add
DESKTOP = "GNOME" or DESKTOP = "KDE"
Switch from GNOME to KDE desktop
Startkde
---
1. Set GNOME or KDE as the default startup desktop environment
Method 1: modify/etc/sysconfig/desktop and change the content after "DESKTOP" to KDE or GNOME as needed.
Method 2: Create ". xinitrc "file (note that there is a dot before the file name, which indicates that a hidden file is created). The file contains a line of startkde or gnome-session, select KDE or GNOME as needed.
2. switching between GNOME and KDE ("#" is followed by the input command)
1. if you need to switch to GNOME:
# Switchdesk gnome
2. if you need to switch to KDE:
# Switchdesk kde

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.