Quick HOWTO: Remove GNOME from a Debian install.

Update, September 2016:
This probably still works, though I don’t recommend it. This is basically the apt-get equivalent of a nuclear strike.

sudo apt-get autoremove --purge 'gnome*'
This entry was posted in Debian, GNOME and tagged , , . Bookmark the permalink.

20 Responses to Quick HOWTO: Remove GNOME from a Debian install.

  1. John says:

    Thank you!

  2. ff says:

    please insert quotes around gnome* like ‘gnome*’. Tnx.

  3. bryan says:

    Nice, thanks

  4. ismael says:

    Perfect solution. Thanks!

  5. WAS says:

    In addition, sometimes you will have affiliated libraries and applications that cannot be removed with this method. Run “sudo apt-get autoremove gdm3” before “sudo apt-get autoremove –purge gnome*”

  6. Rafael Morales says:

    Thank you so much!

  7. Mohamed says:

    Finally I got the answer to an annoying question, thank you. I felt like I have to dispose the data in my virtual machine and install ubuntu server which has no gui. Sweet that I found this command working like charm. Thank you for this kind help!

    • Sydcul says:

      If you want Ubuntu without GUI, there is also a Minimal CD which has no GUI (or it is optional, I can’t remember). Just for any future visitor.

  8. Andrey says:

    Perfect Thanks!

  9. Geek says:

    Thanks very much : it works for me too 🙂

    Many solutions , but yours is the simplest !!!

  10. Boomerang says:

    I removed gnome successfully with suggested command 😉 No sweat at all! Thanks a lot for a good advice. However, it removed network settings as well. Connection was previously established in Gnome via Smartphone using usb port ( I don’t have land line and don’t have wireless as well ). How can I make it work without GUI using the same method of connection?

  11. Steve says:

    Any installation that requires a GUI for it to work as 6.0.5 does is at best misguided and at worst the construct of fools.
    And if that’s not bad enough, CD 1 installs lots of silly useless widgets but no telnet, ftp or ssh server. Lord save us from presumably well-intentioned but clearly ill-informed developers.

  12. Phil Eaton says:

    Thank you so much! This was very nice!

  13. akensai says:

    I made the same mistake, did the autoinstall and what do you know? Gnome is installed on my new webserver. Funny thing is I didnt even notice until after I had my entire webserver environment setup, was wondering what was eating so much CPU (no monitor, remote only). After trying to remove gnome with aptitude I found that it broke everything else, so the only option is to disable for me, that or move my entire webhost to a different machine so I can install without desktop. Fail.

  14. edbroges says:

    Thank’s, your removal command made my night. I was in a situation where I had a small hard drive failure which I replaced and downloaded the first dvd because I had no blank cd’s, yes I am so deficient. Its been a while since I’ve seen gnome so I thought what the hell maybe things have changed?. Maybe the gnome dev’s have created a desktop users can configure and control the way they like! No, instead they have created a desktop that dev’s can show off and filled it with useless programs that no one uses, programs you can’t remove unless you purge the desktop. So after installing someone else’s desktop I installed “My Friggin Desktop” and did a quick oogle on how to completely remove someone else’s and whata u know I found myself here so if I have expressed myself elite style with full contempt let me just say loudly THANK YOU!

  15. Dan says:

    First of all, it is not surprising that your Squeeze CD had GNOME on it, as it is the default desktop environment of Debian.
    Second: of course there is NetworkManager in Debian, it just may not be installed by default as part of GNOME.

    • Andy C. says:

      For me it was surprising, since the previous Squeeze CD I downloaded only listed the base system and SSH server as package sets. My mistake was trying to replace GNOME with IceWM and install NetworkManager afterwards. DeviceKit, DBus or whatever probably failed to run.

  16. Andy C. says:

    I only installed GNOME because I thought NetworkManager might be there.
    It wasn’t, so I looked for a method to remove it. And I posted it here 😀

  17. KDE User says:

    It is far more effective installing Debian without a desktop environment.
    Then you can install a pure gnomeless Debian installation with a desktop.

  18. Pingback: Quick HOWTO: Remove GNOME from a Debian install. | Debian-News.net - Your one stop for news about Debian

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s