How can I determine the architecture of an installed package?
A query with the rpm -q command will not display architecture by default. Use rpm with these options to view the architecture:
rpm -q --queryformat="%{n}-%{v}-%{r}.%{arch}.rpm\\n" <package name>
Replace <package name> with the name of the package that needs to be queried. If unsure of the package name, the same <...>
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
