This article will describe installing GNOME for desktop environment.
Table of Contents
1 Install GNOME
Install ubuntu-gnome-desktop package.
$ sudo apt install -y expect $ cat <<EOF | expect set timeout -1 spawn sudo apt install -y ubuntu-gnome-desktop expect "Default display manager: " send "gdm3\n" expect eof EOF $ sudo reboot
2 Select desktop environment
Select desktop environment.
2.1 GNOME
This is used in Fedora.
2.2 GNOME Classic
This is used in CentOS.