4

I'm trying to remove LXDE from my 12.04 system.
I've tried running the following commands (as root from a terminal):

apt-get remove lxde
apt-get purge lxde
apt-get autoremove

I've also tried a rather lengthy command that was linked to from another question.

However, when I log in, LXDE is still presented as an environment choice, and it still functions perfectly well, as if I've done nothing.

I ran the above commands again, but got the following message:

package . . . is not installed, so not removed.

So, where do I go from here, short of re-installing Ubuntu and all my programs?

Jeremy Lunsford
  • 61
  • 1
  • 1
  • 3

3 Answers3

3

I don't know if you got this solved by now or not, but I think your problem is lxde-core is itself a meta package. To reverse

apt-get install lxde

you need to

apt-get remove lxde gpicview leafpad lxappearance lxde-core lxde-common lxinput lxmusic lxpanel lxsession lxsession-edit lxshortcut lxterminal openbox-themes openbox pcmanfm xarchiver xscreensaver
apt-get autoremove
rekh127
  • 149
2

What you can do is, to first, check the dependency of the lxde.
You can do this using the apt-cache command.

sudo apt-cache show lxde

This enables you to remove dependency packages.
So far, this has worked for me!

swift
  • 3,291
ZhuZhu
  • 21
1
sudo apt autoremove --purge lxde*
Pran
  • 159