Linux安装GUI桌面
1.列出所有可用的软件组
yum group list
2.查看 GNOME Desktop 这个软件组的详细信息
yum groupinfo "GNOME Desktop"
查看Server with GUI
yum groupinfo "Server with GUI"
3.安装GNOME Desktop
sudo yum group install "GNOME Desktop"
安装Server with GUI
sudo yum group install "Server with GUI"
4.设置系统默认启动图形界面
sudo systemctl set-default graphical.target
5.临时切换界面
systemctl isolate graphical.target
或
startx
或
按Ctrl+Alt+F1也可切换
6.删除桌面:
yum groupremove "GNOME Desktop"
