Skip to content

Find out the package size

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: