In this tutorial we are going to learn how to install GNOME on Ubuntu 18.04. We will also install and configure its prerequisites. GNOME is one of the most popular desktop environments for Linux users today. Ubuntu Desktop 18.04 comes with the unity desktop by default. But we can install gnome 3 desktop on Ubuntu if you like to use gnome 3 as your desktop environment.
I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 18.04 LTS Bionic Beaver minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install Gnome on Ubuntu 18.04
Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:
apt-get update -y apt-get upgrade -y
Step 2. Installing GNOME on Ubuntu 18.04 Bionic Beaver.
Gnome vanilla installation on Ubuntu 18.04 will leave you with a basic Gnome shell features and minimal pre-installed applications:
sudo apt install gnome-session gdm3
To start Gnome session on a system without a current graphical user interface (GUI), login to your console and execute:
sudo service gdm3 start
After the installation is finished, logout from your desktop session and when you go back to the login screen, you will see a little icon next to your user name where we can select gnome as the default desktop environment:
Congratulation’s! You have successfully install and configure GNOME on your Ubuntu 18.04 LTS server. Thanks for using this tutorial for installing GNOME 3 desktop environment on Ubuntu system.