Ubuntu 16.10: Install KDE for desktop environment

This article will describe installing KDE for desktop environment.

1 Install KDE

The following command will install KDE.

$ sudo apt remove -y account-plugin-*
$ sudo apt install -y expect
$ cat <<EOF | expect
set timeout -1
spawn sudo apt install -y kubuntu-desktop
expect "Default display manager: "
send "sddm\n"
expect eof
EOF
$ sudo reboot

2 Login to KDE

You can select other desktop environment.

0001_Login.png

KDE is displayed.

0002_Desktop.png

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