Ubuntu 18.04 (gnome edition): How to completely delete Gnome and its dependencies?

Discussion in 'Other Operating Systems' started by mrjayviper, Sep 28, 2018.

  1. mrjayviper

    mrjayviper Member

    Joined:
    Jul 18, 2012
    Messages:
    389
    I want to install another DE on Ubuntu 18.04 (gnome edition). I have done this and the display/login manager used now is lightdm and it's using the DE I selected.

    What I want now is to delete any remnants of gnome and its dependencies without breaking the system.

    I tried:

    1. removing the ubuntu-desktop metapackage
    Code:
    apt purge ubuntu-package && apt autoremove
    But no dependencies where deleted. I am assuming stuff like gdm3 or gnome-shell will be included at least.

    2. same as number 1 except I was removing gnome-shell package. Only 4 or 5 packages were auto-removed. Knowing gnome, I'm sure there's more that should've been included.

    I don't want to use the server edition as my desktop can only access the net via WiFi and server edition can't see my WiFi card during installation.

    Any ideas on how it's done?

    Thanks!
     
  2. waltermitty

    waltermitty Member

    Joined:
    Feb 19, 2016
    Messages:
    743
    Location:
    BRISBANE
    Install Debian. But seriously, why?
     
    mrjayviper likes this.
  3. OP
    OP
    mrjayviper

    mrjayviper Member

    Joined:
    Jul 18, 2012
    Messages:
    389
    because I can and debian can make it hard to install simple packages like codecs and etc :)

    And more importantly, the DE I'm using doesn't have a debian repo... :)

    edit: let's not get stuck on the reasoning (why) but let's stick to the topic (how)
     
  4. waltermitty

    waltermitty Member

    Joined:
    Feb 19, 2016
    Messages:
    743
    Location:
    BRISBANE
    Run 'apt why gnome-shell' and see what requires it, autoremove will remove orphans, but something must still depend on the gnome packages.
     
    mrjayviper likes this.
  5. Revenger

    Revenger Member

    Joined:
    Aug 7, 2002
    Messages:
    3,762
    Location:
    Armadale / Perth
    You can always use a different flavour of ubuntu.
    This could be a option also as its still ubuntu but with a different DE etc.
     
  6. General_Cartman

    General_Cartman Member

    Joined:
    Apr 28, 2005
    Messages:
    2,708
    Location:
    The Confedaracah!
    Did you remove ubuntu-desktop or ubuntu-gnome-desktop package?
     
  7. KILLER ICE

    KILLER ICE Member

    Joined:
    Mar 8, 2004
    Messages:
    69
    Location:
    Western Australia
    Statitica likes this.
  8. GumbyNoTalent

    GumbyNoTalent Member

    Joined:
    Jan 8, 2003
    Messages:
    6,163
    Location:
    Briz Vegas
    What DE?

    Personally I would start with Ubuntu 18.04 server then install a desktop or use the Ubuntu version for whatever DE you are using.
     
  9. KILLER ICE

    KILLER ICE Member

    Joined:
    Mar 8, 2004
    Messages:
    69
    Location:
    Western Australia
    I find it interesting that there's no debian repo for something that's available for ubuntu. What DE?

    Server/minimal netboot is a good option, but might not be noob friendly (i.e. not suited to someone not familiar with these options).
     
  10. Statitica

    Statitica Member

    Joined:
    Dec 29, 2009
    Messages:
    3,081
    Location:
    Lae, Morobe, PNG
    Enlightenment?

    But as Killer Ice said, you need to get rid of both gnome and nautilus. And even then you might have a couple lingering packages.
     
  11. GumbyNoTalent

    GumbyNoTalent Member

    Joined:
    Jan 8, 2003
    Messages:
    6,163
    Location:
    Briz Vegas

Share This Page