Stephen Gran on 2 Dec 2003 21:03:02 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Completelty removing KDE from Debian testing?


On Tue, Dec 02, 2003 at 10:52:47AM -0500, Mike Leone said:
> I've got a Debian testing box that I'm going to be moving onto a DMZ. At the
> moment, it has a binch of unncessary WM and environments on it. Anybody know
> of a (hopefullly simple!) set of apt commands to completely remove and purge
> KDE? Is there some kind of meta-task package that I can just purge, and it
> will rip all of KDE out?
> 
> Ditto for GNOME - I doubt I'll ever be using the windowing environments on
> this machine again, so I can just leave IceWM on there, if I ever need a
> GUI.
> 

A messy way:
steve@gashuffer:~$ apt-rdepends gnome | cut -f2 -d\: | awk '{print $1}'| \
sort | perl -ne 'my %packages;while (<>){if ($_ eq \
$last){$packages{$last} += 1;}else{$last=$_;$packages{$last}=1;}}foreach \
(sort keys %packages){if ($packages{$_} > 50){print "$packages{$_} = \
$_";}}'
Reading Package Lists... Done
Building Dependency Tree... Done
61 = libart-2.0-2
82 = libatk1.0-0
56 = libbonobo2-0
294 = libc6
57 = libgconf2-4
111 = libglib2.0-0
54 = libgnomecanvas2-0
52 = libgnomevfs2-0
52 = libgnomevfs2-common
82 = libgtk2.0-0
62 = liborbit2
85 = libpango1.0-0
69 = libpopt0
77 = libxml2
91 = xlibs
128 = zlib1g

liborbit2 libpango1.0-0 libatk1.0-0 all look like likely candidates.
I'm guessing you don't want libc6 :)
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | You will soon forget this.              |
|  steve@lobefin.net             |                                         |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: pgpmXrjSuZh7s.pgp
Description: PGP signature