To find the largest packages installed on your Linux server, run the following command which will sort the packages by size in ascending order.
rpm -qa –queryformat ‘%10{SIZE}\t%{NAME}\n’ | sort -k1,1n

To find the largest packages installed on your Linux server, run the following command which will sort the packages by size in ascending order.
rpm -qa –queryformat ‘%10{SIZE}\t%{NAME}\n’ | sort -k1,1n