How can I completely remove the KDE 5.6 Plasma desktop from Ubuntu 16.04 and restore Unity? [duplicate]

I have installed the Plasma 5.6 desktop over Unity to give a try, but I don't really like it and I want to completely remove Plasma 5.6 and restore Unity.


Solution 1:

Removing a desktop environment completely is never recommended, since it can break packages that Ubuntu or other DEs depend on. In fact, it's not really recommended that you install a second DE in the first place. If you install a DE, you should really be prepared to either reinstall Ubuntu or just keep the DE installed.

You can use the command below to remove most/all of the Kubuntu/Plasma/KDE packages. Please keep in mind that things can break.

sudo apt-get purge '^kde' '^kubuntu' '^plasma'

Solution 2:

I used Synaptic package manager and typed KDE , went to the installed apps in the sidebar ,marked everything KDE and completely removed them . Lost KDE connect , but i can install it again . It's not very profissional , but it did the job. Hope it helps .