RPM, Yum and friends

From SusoSight

RPM

Producing a list of packages ordered by size:

rpm -qa --queryformat "%{SIZE} %{NAME}\n"   | sort -n