Show space used by rpm packages installed sorted by size (fedora, redhat and like)
rpm -q -a --qf "%10{SIZE}\t%{NAME}\n" | sort -k1,1n
Byte sized tech know-how.
Show space used by rpm packages installed sorted by size (fedora, redhat and like)
rpm -q -a --qf "%10{SIZE}\t%{NAME}\n" | sort -k1,1n
Copyright © 2024 Txt
That’s pretty useful, thank you.
I also just found a plugin for yum called “yum-plugin-list-data” or “yum-list-data” that has a lot of cool features, including listing installed apps with size, although not sorted like your solution.