Find out the package size

Posted by ads' corner on Thursday, 2007-09-13
Posted in [Software]

Just installed a small CentOS 5 without additional packages and the 4 GB VMWare disk is almost full :-(

So I wanted to find out unnedded and big packages:

1
rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n

As reference, the same command line for Debian:

1
dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n

Examples taken from: pixelbeat.org


Categories: [Software]
Tags: [Centos] [Debian] [Rpm] [Storage] [Vmware]