faqts : Computers : Operating Systems : Linux : Shell Commands

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 5 people (80%) answered Yes
Recently 4 of 5 people (80%) answered Yes

Entry

How to view & sort existing RPM packages nicely?

Mar 2nd, 2006 16:30
Son Nguyen,


rpm -qa --qf '%{SIZE} %{NAME}\n' | sort -nr | less
Sample Output:
186925230 kernel-source
184937329 kernel-source
74392320 rpmdb-redhat
44488420 emacs
42509842 glibc-common
41262406 libstdc++-ssa-devel
31483893 frontpage
27851009 perl
25825586 comps
23352847 kernel
23219902 libgcj-ssa-devel
22570875 kernel
21628214 rpm-devel
21543354 kernel-smp
20757085 kernel-smp
18808196 gcc-gnat
17833551 MySQL-server