{"id":818,"date":"2008-10-15T14:31:14","date_gmt":"2008-10-15T13:31:14","guid":{"rendered":"http:\/\/www.zarrelli.org\/blog\/?p=818"},"modified":"2008-10-15T14:31:14","modified_gmt":"2008-10-15T13:31:14","slug":"rpm-query-arch","status":"publish","type":"post","link":"https:\/\/www.zarrelli.org\/blog\/rpm-query-arch\/","title":{"rendered":"Rpm query arch"},"content":{"rendered":"<p><code>rpm -q pakage_name --queryformat \"%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\\n\"<\/code><\/p>\n<p>Giusto perch\u00e9 non ricordo mai come far visualizzare a rpm una lista coerente di pacchetti con relative architetture.<\/p>\n<p>Per esempio:<\/p>\n<p><code>rpm -q  glibc-devel-2.3.4-2.41  --queryformat \"%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\\n\"<\/code><\/p>\n<p><code>glibc-devel-2.3.4.2.41 (x86_64)<br \/>\nglibc-devel-2.3.4.2.41 (i386)<\/code><\/p>\n<p>Se, invece, si desidera la lista di tutti i pacchetti installati, con relative architetture:<\/p>\n<p><code>rpm -qa --queryformat \"%{NAME}-%{VERSION}.%{RELEASE}-(%{ARCH})\\n\"<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>rpm -q pakage_name &#8211;queryformat &#8220;%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\\n&#8221; Giusto perch\u00e9 non ricordo mai come far visualizzare a rpm una lista coerente di pacchetti con relative architetture. Per esempio: rpm -q glibc-devel-2.3.4-2.41 &#8211;queryformat &#8220;%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\\n&#8221; glibc-devel-2.3.4.2.41 (x86_64) glibc-devel-2.3.4.2.41 (i386) Se, invece, si desidera la lista di tutti i pacchetti installati, con relative architetture: rpm -qa &#8211;queryformat &#8220;%{NAME}-%{VERSION}.%{RELEASE}-(%{ARCH})\\n&#8221;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,62],"tags":[475,216,298,486],"class_list":["post-818","post","type-post","status-publish","format-standard","hentry","category-gnulinux","category-sysadmin","tag-gnulinux","tag-redhat","tag-rpm","tag-sysadmin","without-featured-image"],"_links":{"self":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/comments?post=818"}],"version-history":[{"count":0,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/818\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/media?parent=818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/categories?post=818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/tags?post=818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}