On Tue, Feb 15, 2005 at 11:14:43AM +0000, James Cummings wrote:
> I'm sure this is a silly question, but:
>
> What is the easiest way to generate statistics concerning the packages
> you have installed?
>
> I want to generate:
> List of packages installed.
> List of packages installed with the size used by the package.
> List of packages installed and date of last installation/upgrade.
> etc.
>
> Suggestions?
>
Hi,
For nr.2, the following has always worked for me:
dpkg-awk "Status: .* installed$" -- Package Installed-Size| awk '{print\
$2}' | egrep -v '^$' | xargs -n2 echo | perl -pe 's/(\S+)\s(\S+)/$2\
$1/' | sort -g
I know it's a bit long, but it shows me the biggest packages, so I know
where to clean up first...
--
Andreas Rippl -- I prefer encrypted mail
Attachment:
signature.asc
Description: Digital signature