1. yum显示完整的包组列表
- 加上hidden选项即可
- yum grouplist hidden
2. 安装包组
2.1 安装KDE桌面
- KDE Desktop
- X Window System
- Graphical Administration Tools
yum groupinstall "X Window System" "Graphical Administration Tools" "KDE Desktop" -y
2.2 安装GNOME桌面
- GNOME Desktop
- X Window System
- Graphical Administration Tools
yum groupinstall "X Window System" "Graphical Administration Tools" "GNOME Desktop" -y
3. 修改系统启动运行级别
- 查看当前级别:systemctl get-default
- 修改成5级别:systemctl set-default runlevel5.target
若要安装完后立即进入图形化环境,执行 startx 即可