Ubuntu 16.04: Install KDE for desktop environment

Table of Contents

1 Install KDE

The following command will install KDE.

$ sudo apt remove -y account-plugin-*$ sudo apt install -y expect$ cat <<EOF | expectset timeout -1spawn sudo apt install -y kubuntu-desktopexpect “Default display manager: “send “sddmn”expect eofEOF$ sudo reboot

2 Login to KDE

You can select other desktop environment.


KDE is displayed.


3 Uninstall KDE

The following command will uninstall KDE.

$ sudo apt remove -y kubuntu* kde* libkde*$ sudo apt autoremove -y$ sudo apt install –reinstall -y lightdm$ sudo reboot

Android | Linux | SDL - Narrow Escape