{"id":107,"date":"2013-12-09T10:38:51","date_gmt":"2013-12-09T10:38:51","guid":{"rendered":"http:\/\/muse.oneshot.in\/?p=107"},"modified":"2013-12-09T10:52:28","modified_gmt":"2013-12-09T10:52:28","slug":"find-out-rpm-package-architecture-of-an-installed-rpm-installation-such-as-i386-or-x86_64-bit","status":"publish","type":"post","link":"https:\/\/muse.oneshot.in\/?p=107","title":{"rendered":"Find out rpm package architecture of an installed RPM (installation such as i386 or x86_64 bit)"},"content":{"rendered":"<p>Almost all rpm package has i386 or x86_64 added to RPM file extension. However some times you may see file name such as file-version.rpm. You can list all installed rpm packages with rpm -qa command but it will not display architecture. You can run following command to display rpm package architecture:<br \/>\n<code>rpm -qa --qf \"%{n}-%{arch}\\n\"<\/code><\/p>\n<p><em>output as below<\/em><\/p>\n<p>dbus-glib-x86_64<br \/>\nnss-i386<br \/>\ndbus-glib-i386<br \/>\ngnutls-i386<br \/>\nlibxml2-i386<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Almost all rpm package has i386 or x86_64 added to RPM file extension. However some times you may see file name such as file-version.rpm. You can list all installed rpm packages with rpm -qa command but it will not display architecture. You can run following command to display rpm package architecture: rpm -qa &#8211;qf &#8220;%{n}-%{arch}\\n&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-information-technology","category-redhat"],"_links":{"self":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=107"}],"version-history":[{"count":3,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}