|
|
(30 intermediate revisions by 8 users not shown) |
Line 1: |
Line 1: |
| <pre>#!html
| | {{header|docs}}{{Docs_beat_open}} |
| ==Architecture Specific Notes==</pre>
| | [[Category:Docs Project]] |
| | | [[Category:Draft Documentation]] |
| This section provides notes that are specific to the supported hardware architectures of Fedora.
| | [[Category:Documentation beats]] |
| | |
| === RPM multiarch support on 64-bit platforms (x86_64, ppc64) ===
| |
| | |
| '''RPM''' supports parallel installation of multiple architectures of the same package. A default package listing such as <code>rpm -qa</code> might appear to include duplicate packages, since the architecture is not displayed. Instead, use the <code>repoquery</code> command, part of the <code>yum-utils</code> package, which displays architecture by default. To install <code>yum-utils</code>, run the following command:
| |
| | |
| <pre> su -c 'yum install yum-utils'
| |
| </pre>
| |
| | |
| To list all packages with their architecture using <code>rpm</code>, run the following command:
| |
| | |
| <pre> rpm -qa --queryformat "%{name}-%{version}-%{release}.%{arch}\n"
| |
| </pre>
| |
| | |
| You can add this to <code>/etc/rpm/macros</code> (for a system wide setting) or <code>~/.rpmmacros</code> (for a per-user setting). It changes the default query to list the architecture:
| |
| | |
| <pre> %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
| |
| </pre>
| |
| {{/PPC}}
| |
| {{/x86}}
| |
| {{/x86_64}}
| |