centos7安装图形桌面

1、输入命令 yum grouplist 回车 --查看系统里有效的安装包。

[root@aliyungg ~]# yum grouplist

Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
Available Environment Groups:
   Minimal Install
   Compute Node
   Infrastructure Server
   File and Print Server
   Cinnamon Desktop
   MATE Desktop
   Basic Web Server
   Virtualization Host
   Server with GUI
   GNOME Desktop
   KDE Plasma Workspaces
   Development and Creative Workstation
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Development Tools
   Educational Software
   Electronic Lab
   Fedora Packager
   General Purpose Desktop
   Graphical Administration Tools
   Haskell
   Legacy UNIX Compatibility
   Milkymist
   Scientific Support
   Security Tools
   Smart Card Support
   System Administration Tools
   System Management
   TurboGears application framework
   Xfce
Done

[root@aliyungg ~]# 

2、安装GNOME桌面环境

yum groupinstall  'GNOME Desktop' -y  --需要时间稍长

3、卸载GNOME桌面环境

#yum groupremove "GNOME Desktop"




你可能感兴趣的:(linux)