Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a kubuntu 12.04 system to which I added gnome (unity) but I'm now wanting to remove gnome as I don't think I'll ever use it. doing apt-get remove ubuntu-desktop doesn't remove the packages, so how can I safely remove all the gnome components? I don't really want to do a clean install if I can avoid it.

share|improve this question
Desktops are meta packages: These packages do not contain actual software, they simply depend on other packages to be installed. Earlier in the AskUbuntu: – user26687 Apr 2 '12 at 16:00

I suggest , if you want to remove gnome, unity and ubuntu-desktop, try the following commands.

sudo apt-get remove --purge ubuntu-desktop

sudo apt-get remove --purge unity

sudo apt-get remove --purge gnome

I would also suggest you to run this last command just to be on the safe side, if any kde applications get removed, it will be installed back.

sudo apt-get install --reinstall kubuntu-desktop kubuntu-restricted-extras 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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