How to Install Gnome 40 in Ubuntu 21.04 (For Testing Only)

Want to try out the new Gnome 40 Desktop? You can install it in Ubuntu 21.04 Hirsute Hippo via PPA.

Gnome 40 was released more than a week ago with new features including new design for the overview screen, a horizontal workspace switcher, Dock at the bottom, new gestures, and more.

While Ubuntu 21.04 includes Gnome 3.38.x with some Gnome 40 core applications, you can get the new desktop environment via this third-party PPA.

WARNING: GNOME 40 is not yet officially supported in Ubuntu 21.04. The PPA packages is just for testing purpose! Use it at your own risk!

1.) Firstly open terminal by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:shemgp/gnome-40

Type your user password (no asterisk feedback) when it asks and hit Enter to continue.

2.) After adding the PPA, run command to upgrade the mutter window manager:

sudo apt install mutter

You can follow the command in the PPA description, which adds the package version in the code. It however just works with the package name only.

3.) Then install Gnome Shell 40 via command:

sudo apt install gnome-shell

4.) As the default Yaru theme is not updated for Gnome 40, you have to install and use Gnome Session instead of the Ubuntu Session. To install it, run command:

sudo apt install gnome-session

5.) And run command for the rest packages:

sudo apt upgrade

Finally reboot your machine. When you’re in login screen, DO SELECT “Gnome” or “Gnome on Xorg” before logging in. To do so, select your user and then click the gear button in the bottom-right and select Gnome in popup menu.

How to Uninstall Gnome 40:

To remove the new Gnome Desktop and revert back to the original v3.38.x, run command to purge the Ubuntu PPA:

sudo apt install ppa-purge && sudo ppa-purge ppa:shemgp/gnome-40

And if you no longer use the Gnome Session from login screen, remove it via command:

sudo apt remove gnome-session