Uninstall kubuntu-desktop from ubuntu 18.04

I've installed kubuntu desktop on ubuntu 18.04 with tasksel. How can I uninstall it?


Solution 1:

If you installed it via sudo apt-get install kubuntu-desktop you can uninstall it by

sudo apt-get remove kubuntu-desktop --autoremove

To be safe, run the reconfigure on your login manager.

sudo dpkg-reconfigure gdm3

After that, you might need to reboot your machine.

Solution 2:

Synaptic as mentioned by @N0rbert, (with completely remove option) was the only way to fully remove all traces of Kubuntu. Everything worked perfectly.