Find the answer to your Linux question:
Results 1 to 9 of 9
I now have both Gnome and KDE installed on Redhat 9. I think I prefer KDE, and as such, I want to uninstall Gnome - my drive's only 3GB, so ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jun 2003
    Location
    Calgary, AB CANADA
    Posts
    496

    Add/Remove Desktop Environment


    I now have both Gnome and KDE installed on Redhat 9. I think I prefer KDE, and as such, I want to uninstall Gnome - my drive's only 3GB, so space is at a premium.

    I installed KDE using the System Settings > Add/Remove Applications. But can't see a way to remove Gnome using the same feature - no check box beside it once it's installed. Other smaller apps still have a check box. Is the best way to get rid of Gnome by doing an rpm -e? Issuing rpm -qa gnome returns 22 installed packages. Do I run the rpm -e command for each, one by one? Or is there a better way?

    Any suggestions appreciated.
    \"Everything should be made as simple as possible, but not simpler.\"
    Albert Einstein

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    My guess is that you probably have to remove them individually...or can you remove the main gnome RPM and then remove all unused dependancies?
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    Thats a excellant question, I'm not sure off the top of my head. I would like to include it in the cmd line tut here, if its not already covered (most likey not since it is brief). If it not covered in the tut, please the post answer if you stumble upon it.

    Thanks,
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  4. #4
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    Im not shure if this will work, as I haven't used rpms in a long time, but here goes
    Code:
    rpm -qa | grep gnome > gnome
    rpm -e `cat gnome` (if needed, --force and/or --nodeps)
    Good Luck

  5. #5
    Linux User
    Join Date
    Jun 2003
    Location
    Calgary, AB CANADA
    Posts
    496
    Great idea, Kriss.
    Will give it a go later tonight, and post the results!

    Cheers,
    CT

    * Update - didn't work. The rpm -e command seems to need an explicit argument. Other ideas?
    \"Everything should be made as simple as possible, but not simpler.\"
    Albert Einstein

  6. #6
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    maybe
    Code:
    cat gnome | rpm -e
    ?

  7. #7
    Linux Engineer big_k105's Avatar
    Join Date
    May 2003
    Location
    Fargo, ND
    Posts
    901
    hey copper did either of those to comments get rid of gnome. i would really like to completely get rid of gnome but i would like to know if they worked.
    BIG K aka Kyle
    Programming Forums
    www.kylekonline.com
    Please don\'t PM me for help-- ask in the forums instead!

  8. #8
    Linux User
    Join Date
    Jun 2003
    Location
    Calgary, AB CANADA
    Posts
    496
    Haven't tried Kriss' last suggestion. Somehow I think it will fail, just because like I said earlier about rpm needing an explicit arg. I hope to have a bit more free time later this week, so I'll try again and post my results.

    I'm just hesitant of only partially removing gnome. I'd obviously much rather an all-or-nothing approach. If you figure it out before me, big k, let me know what worked!
    \"Everything should be made as simple as possible, but not simpler.\"
    Albert Einstein

  9. #9
    Linux Engineer big_k105's Avatar
    Join Date
    May 2003
    Location
    Fargo, ND
    Posts
    901
    that sounds like a plan i will work on it some probably
    BIG K aka Kyle
    Programming Forums
    www.kylekonline.com
    Please don\'t PM me for help-- ask in the forums instead!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •