GNOME is the default desktop environment for Ubuntu 22.04 Jammy Jellyfish. If you don’t yet have a desktop environment installed, or have a different environment and would like to switch to GNOME, it’s very easy to do.
GNOME includes a variety of desktop applications and its aim is to make a Linux system easy to use for non-programmers.
Privileged access to your Linux system as root or via the sudo command.
Conventions
# – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command $ – requires given linux commands to be executed as a regular non-privileged user
Install GNOME minimal on Ubuntu 22.04 LTS Jammy Jellyfish Linux step by step instructions
The “Vanilla Gnome” version is a clean GNOME desktop installation. It lacks most of the software you would expect as default, however the desktop resource requirements are minimal.
To install the minimal GNOME desktop environment, open a command line terminal and use your system’s package manager to install the GUI and gdm3 window manager.
If the installation prompt asks you to select your default window manager (because you are currently using a different one), be sure to select gdm3 if you want GNOME to be your default desktop environment.
👁 Select gdm3 as default window manager Select gdm3 as default window manager
After installation is complete, reboot your system and you will be presented with a GNOME login.
$ reboot
At this point, the GUI should start. You may need to select your desired desktop flavor on the login page before you login. In case the GUI is not starting at all, make sure your system boots into the graphical target. To do so execute the systemctl set-default graphical.target command:
$ sudo systemctl set-default graphical.target
Install GNOME full desktop on Ubuntu 22.04
The “Full version” of GNOME will come with more software by default. Some users may find it bloated, and others may find that it comes with all the necessary things they need. The only thing to keep in mind is that this version will consume a bit more system resources than the minimal version.
The easiest way to install full GNOME desktop is by using the tasksel command. First ensure that the tasksel command is available on your system:
$ sudo apt update
$ sudo apt install tasksel
Next, use the tasksel command to install GNOME desktop:
$ sudo tasksel install ubuntu-desktop
If the installation prompt asks you to select your default window manager (because you are currently using a different one), be sure to select gdm3 if you want GNOME to be your default desktop environment.
👁 Select gdm3 as default window manager Select gdm3 as default window manager
All done. Reboot your Ubuntu 22.04 system to be presented with the GNOME desktop:
$ reboot
At this point, the GUI should start. You may need to select your desired desktop flavor on the login page before you login. In case the GUI is not starting at all, make sure your system boots into the graphical target. To do so execute:
$ sudo systemctl set-default graphical.target
Closing Thoughts
In this tutorial, we saw how to install the GNOME desktop environment on Ubuntu 22.04. This will work for Ubuntu servers that don’t have any GUI at all, or for Ubuntu desktops that are running a different desktop environment, such as KDE Plasma (Kubuntu). If you opted for the minimal GNOME install and find it to be lacking, you can always continue with the full installation afterwards.