How to Install the Desktop Components (GUI) on an Ubuntu Server

If you find yourself wanting a desktop environment after you have installed Ubuntu server you can conveniently add it. Choose your favored desktop environment from the list below as well as run the associated command. Bear in mind that installment software application requires root privileges so use “sudo” or switch over to the root user prior to you start the setup.

Unity (The Default Desktop)

sudo apt-get install ubuntu-desktop


If you’re using Ubuntu 16.04 or higher, you’ll need to add the PPA for KDE first:

sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get install kubuntu-desktop

LXDE (Lubuntu)

sudo apt-get install lubuntu-desktop


sudo apt-get install mate-desktop


sudo apt-get install ubuntu-gnome-desktop

XFCE (Xubuntu)

sudo apt-get install xubuntu-desktop

Leave a Comment