Just install the one that you want. For example to install LXDE, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.
sudo apt-get install lxde
for XFCE
sudo apt-get install xubuntu-desktop
for Gnome
sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell
Once you install the one you want, log out, choose the one you want, and log back in.
Installing Gnome 3 in Ubuntu 15.10
Video Instruction HERE
Replacing Unity with Gnome 3 Instruction HERE
sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install ubuntu-gnome-desktop ubuntu-gnome-default-settings
sudo apt-get install gnome-documents gnome-boxes
(When prompted, select GDM as the default display manager.)
sudo apt-get remove ubuntu-settings
sudo apt-get remove unity
sudo apt-get remove overlay-scrollbar*
(Reboot, when logging in check Gnome desktop environment has been selected in the login screen.)
When removing Unity, 6,5 MB of packages were removed, as expected ubuntu-desktop got removed. Network Manager still there, which is good - serg
ubuntu-desktop is a meta package, the system will be fine without it -
uninstalling it simply uninstalls that meta package -Mateo
So ubuntu-gnome-desktop installed and unity and ubuntu-desktop are out, everything works fine. I suppose the answer is "it's pretty much safe" -Serg
Best Answer
Unity will eventually be removed from the archives. The default experience on Ubuntu is moving to GNOME. There is no more "Ubuntu GNOME" flavor of Ubuntu. You can either upgrade from 17.04 to 17.10, install 17.10 from scratch, or if you run LTS, stick to 16.04 and upgrade when 18.04 is ready.
You can install GNOME directly from the archive already, with no need to re-install your system. You can simply install the
ubuntu-gnome-desktop
package on 16.04, to get the standard Ubuntu GNOME install in 16.04.Ubuntu 16.04 is an LTS and will continue to receive updates until May 2021, when it will be End of Life. However, unless there is a major bug affecting the Unity software, it's unlikely there will be many updates for it.