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

Re: RPM size



Great, Thanks! Now I find what is taking up all my room. Good heavens! 
"apt-get remove linuxconf" gets rid of 22 mb! And I don't even use it 
anymore!

eks

On Wed, 17 Jul 2002, Steven Pritchard wrote:

> On Wed, Jul 17, 2002 at 12:42:14PM -0500, Erich Schroeder wrote:
> >   A few meetings back you gave me a nice little script that showed the 
> > relative sizes of installed rpms, but I believe that I misplaced it. Could 
> > you post it here?
> 
> Sure.  It's easy.
> 
>     rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}\t%{SIZE}\n' \
>         | sort -nrk 2
> 
> That will print the names of the packages and the sizes, and sort them
> from largest to smallest.
> 
> Steve
> 

-- 
---------------------------------------------------------------------
Erich Schroeder                    Phone: (217)785-0033
Curator, Information Technologies  FAX:   (217)785-2857
Illinois State Museum GIS Lab      email:erich(at)illinois.state.museum
                 http://illinois.state.museum/
---------------------------------------------------------------------


-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.