I've just installed kde-desktop, according to this tutorial: How to install KDE on Lubuntu 14.04

Now I have both lubuntu(LXDE) and kubuntu(KDE) and want to remove lubuntu, can I do it?

Also, on startup screen, I have a choice to run Lubuntu, Lubuntu netbook, Plasma(Which I loved), failsafe and openbox.


Test this:

Open a terminal,

Press Ctrl+Alt+T

Run it:

sudo -i
apt-get update
apt-get install --reinstall aptitude deborphan
aptitude remove '?and(?reverse-depends(lubuntu),?not(?reverse-depends(?exact-name(kubuntu-desktop))))'
aptitude remove '?and(?reverse-depends(lxde),?not(?reverse-depends(?exact-name(kubuntu-desktop))))'
apt-get install --reinstall kubuntu-desktop
apt-get --purge remove $(deborphan)
deborphan --libdevel
apt-get --purge remove $(deborphan --libdevel)
deborphan --find-config
dpkg --purge $(deborphan --find-config)
apt-get autoremove
apt-get clean

This removes the installed packages that reverse-depend on lubuntu and not those for kubuntu-desktop.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.