2004-01-08 Fedora Tips #2: There is sometimes a need to see a list of all RPM packages installed on the system, sorted by package size. Here is how to do it:
rpm -qa --qf "%-10{SIZE} %-30{NAME}\n" | sort -n