Uninstall – How to Remove Lubuntu-Desktop from Ubuntu 14.04 LTS

14.04lubuntuuninstall

I have installed lubuntu-desktop in my Ubuntu 14.04 LTS. Now I want to get pure Ubuntu. How can I revert back to Ubuntu only ?

Note: I have searched in the google and found solutions for 12.04 / 12.10. But have not found any solution for Ubuntu 14.04 LTS yet. Thats why I asked here.

Best Answer

Execute these commands:

sudo apt-get autoremove lxde
sudo apt-get autoremove lubuntu-desktop
sudo apt-get --purge remove lxde
sudo apt-get --purge remove lubuntu-desktop

Note: it would be possible that lubuntu-desktop packages may not be installed.

Also execute this command to get the packages of lubuntu-desktop:

whereis lxde

You would get the path like /usr/share/lxde

Remove the directory /usr/share/lxde completely by:

sudo rm -rf /usr/share/lxde

Since I mentioned the commands in one line that would be the problem. Try it once. I'm also listing my output of the first command:

sk@sk-Vostro-1015:~/.config/openbox$ sudo apt-get autoremove lxde
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  galculator giblib1 leafpad libxmmsclient-glib1 libxmmsclient6 lxappearance lxde lxinput lxmusic lxrandr lxsession-edit menu-xdg scrot xmms2-core
  xmms2-plugin-alsa xmms2-plugin-id3v2 xmms2-plugin-mad xmms2-plugin-vorbis
0 upgraded, 0 newly installed, 18 to remove and 56 not upgraded.
After this operation, 7,384 kB disk space will be freed.
Do you want to continue [Y/n]? 

Reply if you get any problem :)