RSS
 

Uninstalling KDE or Gnome from Gentoo

24 Aug

Using ‘eix’ it becomes quite easy to construct a search command listing all the packages currently installed for a given category.

In my case, I wanted to unmerge (remove) all KDE and Gnome desktop packages from my Gentoo system, as I’ve been using it only as server for several years now.

# generate a list of gnome-base packages you have installed
eix -C gnome-base --only-names --installed

#send it to emerge once  you've got it
sudo emerge --ask -C `eix -C gnome-base --only-names --installed`

The ‘-C’ flag is the category base (ie: gnome-base or kde-base) — the other arguments should be obvious. You can always type ‘man eix’ for the specifics.

It’s a good idea to run ‘revdep-rebuild’ after removing packages as well.

sudo revdep-rebuild
VN:F [1.9.3_1094]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.3_1094]
Rating: +1 (from 1 vote)
Uninstalling KDE or Gnome from Gentoo, 10.0 out of 10 based on 2 ratings
Retweet
 
1 Comment

Posted in Linux

 

Tags: , , , , , ,

  1. Links 14/1/2010: Many New Android Gadgets | Boycott Novell

    January 14, 2010 at 1:21 pm

    [...] Uninstalling KDE or Gnome from Gentoo [...]