安裝
yum groupreinstall "GNOME Desktop" "Graphical Administration Tools" # 安裝
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
systemctl set-default graphical.target
reboot # 重啟
卸載
yum groupremove "GNOME Desktop" "Graphical Administration Tools" # 安裝
ln -b /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
systemctl set-default multi-user.target
reboot # 重啟