{"id":7380,"date":"2004-03-23T04:53:58","date_gmt":"2004-03-23T02:53:58","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/23\/how-can-i-display-a-list-of-all-rpm-packages-on-the-system-with-their-sizes\/"},"modified":"2005-04-13T08:02:42","modified_gmt":"2005-04-13T05:02:42","slug":"how-can-i-display-a-list-of-all-rpm-packages-on-the-system-with-their-sizes","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/23\/how-can-i-display-a-list-of-all-rpm-packages-on-the-system-with-their-sizes\/","title":{"rendered":"How can I display a list of all rpm packages on the system with their sizes?"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><b>&#8220;rpm query size&#8221;<\/b><\/p>\n<p>RPM (Red Hat Package Manager) has an excellent <code>--qf<\/code>  (query format) option, which behaves much like printf function. Command <code>rpm -q mozilla --qf '%{SIZE}<br \/>\n\\n'<\/code> will display the size of mozilla package. To list all packages with their sizes, you may use something like: <code>rpm -qa --qf '%-15{SIZE} %-30{NAME}\\n'<\/code> . The output of this command can be piped to <code>sort -n<\/code> to produce a list sorted by size.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>&#8220;rpm query size&#8221; RPM (Red Hat Package Manager) has an excellent &#8211;qf (query format) option, which behaves much like printf function. Command rpm -q mozilla &#8211;qf &#8216;%{SIZE} \\n&#8217; will display the size of mozilla package. To list all packages with their sizes, you may use something like: rpm -qa &#8211;qf &#8216;%-15{SIZE} %-30{NAME}\\n&#8217; . The output &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/23\/how-can-i-display-a-list-of-all-rpm-packages-on-the-system-with-their-sizes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How can I display a list of all rpm packages on the system with their sizes?<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,62],"tags":[35],"keyring_services":[],"class_list":["post-7380","post","type-post","status-publish","format-standard","hentry","category-general","category-technology","tag-answers"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":118,"url":"https:\/\/mamchenkov.net\/wordpress\/2003\/01\/14\/practical-rpm\/","url_meta":{"origin":7380,"position":0},"title":"Practical RPM","author":"Leonid Mamchenkov","date":"January 14, 2003","format":false,"excerpt":"This document presents few practical tips for users of Redhat Pacakage Manager (RPM). Introduction This document will not cover or explain any theory behind RPM, since it has been nicely done in few other documents. Please consider reading man rpm for a general list of options and RPM-Howto for the\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7782,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/08\/09\/disagreement-with-sean-russells-rpm-hell\/","url_meta":{"origin":7380,"position":1},"title":"Disagreement with Sean Russell&#8217;s RPM Hell","author":"Leonid Mamchenkov","date":"August 9, 2004","format":false,"excerpt":"Today I read an essey by Sean Russell called \"RPM Hell. A Perfect Example of Good Software Crippled by Bad Design\". In this essey Sean is explaining why he does not like RPM to the level when he is prepared to change the Linux distribution he is using. I, on\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22791,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/11\/03\/fpm-build-packages-for-multiple-platforms-deb-rpm-etc-with-great-ease-and-sanity\/","url_meta":{"origin":7380,"position":2},"title":"fpm &#8211; build packages for multiple platforms (deb, rpm, etc) with great ease and sanity","author":"Leonid Mamchenkov","date":"November 3, 2014","format":"link","excerpt":"fpm -\u00a0Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18311,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/06\/04\/the-future-of-package-management-in-fedora\/","url_meta":{"origin":7380,"position":3},"title":"The future of package management in Fedora","author":"Leonid Mamchenkov","date":"June 4, 2013","format":"link","excerpt":"The future of package management in Fedora It's nice to see there is hope for a better package management in Fedora... YUM upstream will soon be considered deprecated, and we will move into a DNF\/hawkey\/librepo-based future. This includes PackageKit. I\u2019m going to be building a hawkey based backend with help\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9488,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/09\/23\/finding-files-in-linux\/","url_meta":{"origin":7380,"position":4},"title":"Finding files in Linux","author":"Leonid Mamchenkov","date":"September 23, 2005","format":false,"excerpt":"Many beginning Linux users experience difficulties getting used to the filesystem structure. Indeed, there are many files and directories, the structure of which are not as obvious as it could be. Choosing an appropriate location for a new file or directory is difficult and many choose to follow their own\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":42578,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/05\/02\/fedora-30\/","url_meta":{"origin":7380,"position":5},"title":"Fedora 30","author":"Leonid Mamchenkov","date":"May 2, 2019","format":false,"excerpt":"Fedora 30 has been released a few days ago. In the long list of changes, the most interesting to me are: Upgrade to Bash 5Upgrade to PHP 7.3 (more specifically 7.3.4)Deprecation of \/etc\/sysconfig\/nfs in favor of \/etc\/nfs.conf I've already upgraded my laptop to this version and everything seems to work\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/05\/fedora30.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/05\/fedora30.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/05\/fedora30.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/05\/fedora30.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=7380"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7380\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=7380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=7380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=7380"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=7380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}