Monday, April 25, 2011

Using RPM to find large packages in Linux

Here's how to use RPM to find the largest packages on your Linux system:
rpm -qa --queryformat '%10{SIZE}\t%{NAME}\n' | sort -k1,1n