I installed the KDE desktop environment with the software center but can't seem to remove it

Asked by Steven D. Shown on 2012-07-16

I am running Ubuntu 11.04 and decided to try installing the KDE desktop, so I did so from the software center. But I am not satisfied with it as it drastically slows down my computer when the desktop effects are enabled. This doesn't happen in GNOME, and I realize that all I have to do is boot into Ubuntu or Ubuntu Classic at log in, but the KDE packages are just sitting there eating space on my hard drive and I wish to remove it. All attempts at uninstalling from the software center have failed, and sudo apt-get remove isn't doing the trick either. Is there any way I can remove this package and reclaim my disk space?

Question information

English Edit question
Ubuntu kubuntu-meta Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:

If you run:

sudo apt-get --purge remove `dpkg -l | awk {'print $2'} | grep kde `

It will remove all packages with kde in the name, you can then run:

sudo apt-get --purge autoremove

to remove the rest. HTH

Thank you very much actionparsnip, that corrected the problem. But I can't help but wonder why the kde desktop brought my system to a dead crawl when the desktop effects were activated, but when running the gnome desktop I can switch on the effects, have full aero-glass to the menus and window borders, etc and the system is still lightning fast. If you or anyone knows the answer to this problem I would sure like to know! Again, many thanks.

Thanks actionparsnip, that solved my question.

KDE uses kwin as its WM, you can make KDE super fast by disabling some of the effects.