Ubuntu: KDE Won't Fully Remove



Question:

This is NOT a duplicate. The solution in How to remove all traces of KDE installed did NOT work, so please do not mark this as a duplicate (it ruined the last post I made). I am using Unity, but KDE is still available on the login screen. I have uninstalled it, and all of its programs, but it won't go away.

I did an installation of kde-full to try it, but I didn't like it and want to go back to just Unity.

Thanks in advance.

PS this installation is NOT Kubuntu.

UPDATE: KDE Plasma is still an option on the login screen, and choosing it opens a perfectly working KDE session. I have a 128GB SSD, so space is valuable.

UPDATE: KDevelop isn't that important. I don't have any custom configs, so if it gets deleted, I can reinstall it quickly.


Solution:1

When I want to get rid of everything based on the KDE libraries (and, consequently, entirely remove KDE), I simply:

sudo apt-get remove --purge libkde*  

(Before running the above command including the --purge option, make sure that you make a backup of the KDevelop config files.) If you want to keep KDevelop, as per your comment, then you can subsequently reinstall it.

sudo apt-get install kdevelop  

There may be KDE-related bits on the system (I'm not sure about this), but you definitely won't have any extraneous apps based on the KDE libraries (other than KDevelop and its deps).


Solution:2

An KDE application you have still installed may depend on packages from the KDE environment. We can not remove all of KDE but keep single KDE applications.

In the case you mentioned in a comment it is expected to have a lot of KDE packages installed for being able to run KDevelop.

You can't remove it's dependencies without removing kdevelop first.

In addition you may have other application still which may also depend on KDE libraries.


Solution:3

I believe the answer you're looking for is in this question

Basically it tells you that you find the sessions (i.e. the login entries) defined in

/usr/share/xsessions  


Solution:4

In theory, it is possible to run sudo apt-get purge kubuntu-desktop (note the purge) followed by sudo apt-get autoremove --purge (again, note the purge).

What this does is it removes kubuntu-desktop (which most if not all KDE packages depend on) and then purges all the files that depend/want kubuntu-desktop installed. This may remove kDevelop, however it is not hard to get back.


Solution:5

Try this: http://www.psychocats.net/ubuntu/pureubuntu

I hope it will help you, as it helped me.


Solution:6

Since kubuntu and ubuntu share many packages, I suggest these commands...

sudo apt-get remove kubuntu-desktop  sudo apt-get autoremove  sudo apt-get install ubuntu-desktop  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »