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:

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

As reference, the same command line for Debian:

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

Examples taken from:

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