remove kde from ubuntu code example Example: how completely remove kde sudo apt-get remove plasma-desktop sudo apt-get autoremove