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