CentOS7 Minimal installation and then install GNOME Gui
In CentOS7 Minimal, the graphical interface is installed. In some cases, the command-only interface is too tired. For personal learning, you can use the image interface. The graphic interface is strongly not recommended for servers.
Log on to the system and use yum to install
Yum-y groupinstall Desktop
Yum-y groupinstall "X Window System"
Install GNOME Desktop Environment
Yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts
# Yum groupinstall 'x Window system'-y
If you install the KDE Desktop Environment
# Yum groupinstall 'KDE (K Desktop Environment) '-y
If an error occurs:
Warning: Group GNOME Desktop Environment does not exist.
No packages in any requested group available to install or update
You can first use yum grouplist to check the groups supported by the installed groups, obtain the corresponding group name, and then install
Uninstall GNOME Desktop
# Yum groupremove "GNOME Desktop Environment"
Uninstall the KDE Desktop Environment
# Yum groupremove "KDE (K Desktop Environment )"
Log on to the system and use yum to install
# Yum groupinstall 'x Window system'-y
Install GNOME Desktop Environment
# Yum groupinstall 'gnome Desktop Environment '-y
If you install the KDE Desktop Environment
# Yum groupinstall 'KDE (K Desktop Environment) '-y
If an error occurs:
Warning: Group GNOME Desktop Environment does not exist.
No packages in any requested group available to install or update
You can first use yum grouplist to check the groups supported by the installed groups, obtain the corresponding group name, and then install
Uninstall GNOME Desktop
# Yum groupremove "GNOME Desktop Environment"
Uninstall the KDE Desktop Environment
# Yum groupremove "KDE (K Desktop Environment )"