install ubuntu-desktop-gnome code example Example: apt install gnome desktop sudo apt install gnome-session gdm3