1、切换至root用户,检查一下已经安装的软件以及可以安装的软件
[[email protected] ~]# 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
* base: mirror.bit.edu.cn
* extras: mirror.bit.edu.cn
* updates: mirror.bit.edu.cn
Available Environment Groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
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
Graphical Administration Tools
Legacy UNIX Compatibility
Scientific Support
Security Tools
Smart Card Support
System Administration Tools
System Management
Done
2、开始安装(注意名称必须对应)
[[email protected] ~]# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
3、重启
[[email protected] ~]# reboot
原文地址:https://www.cnblogs.com/jeshy/p/11064828.html