Rpm List Biggest Packages

Here is how to list the biggest packages installed via rpm:

1
rpm -qa --queryformat '%{name} %{size}\n' | sort -n -k 2 -r | head -n 20