How to use the command to install the gnome graphical interface under the system:
Before installing the Gnome package, you need to check whether the installation source (yum) is normal, because you need to yum command to install gnome package.
Step one: First check whether yum is installed and whether there is a network connection. If neither of these are available, solve the network problem first and then the yum installation.
(Recommended tutorial: centos usage tutorial)
Step 2: Enter the following command at the command line to install the Gnome package.
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
Step 3: Update the system’s run level.
# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
Step 4: Restart the machine. The default startup is to enter the graphical interface.
# reboot
Related video tutorial recommendations: linux video tutorial
The above is the detailed content of How to install the graphical interface in centos system. For more information, please follow other related articles on the PHP Chinese website!