One thought on “RPM: List all installed packages by size (Megabytes)

  1. You could append it a bit for those times when disk is full:
    $ rpm -qa –queryformat ‘%10{SIZE}\t%{NAME}\n’ | sort -k1,1n | tail | cut -f 2 | xargs rpm -e

Leave a Reply

Your email address will not be published.



This site uses Akismet to reduce spam. Learn how your comment data is processed.