The followin RPM command is useful when you are having problems with less hard disk space, it'll print a list of installed packages sorted by package size(in bytes):
rpm -qa --queryformat '%10{size} %{name}-%{version}\n' | sort -n
Thanks to Ramon Gutierrez for this one.