How to remove and reinstall GNOME 3?

Solution 1:

sudo apt-get install --reinstall gnome-shell will do the work for you.

Solution 2:

Simply enter the following in a terminal to remove Gnome 3:

sudo apt-get remove gnome-shell

...and the following to install it again:

sudo apt-get install gnome-shell

However, you may want to try running dpkg-reconfigure before attempting a re-install just in case that fixes the issues you are experiencing:

sudo dpkg-reconfigure gnome-shell

Solution 3:

1 and 2 provide a simple step by step guide to install Gnome on Ubuntu. However, for the sake of completeness, first of all, remove the current Gnome by apt purge gnome-shell. And then reinstall the following packages, apt install gnome-shell ubuntu-gnome-desktop.

Finally, one more thing is to choose the default graphical interface, for instance, when you are hosting LXDE and Gnome-3 simultaneously on your PC, it will ask for gdm3 V lightdm.