From Fedora Project Wiki

No edit summary
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Architecture Specific Notes==
{{header|docs}}


This section provides notes that are specific to the supported hardware architectures of Fedora.
{{Docs_beat_open}}


=== 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:
[[Category:Docs Project]]
 
[[Category:Draft documentation]]
<pre> su -c 'yum install yum-utils'
[[Category:Documentation beats]]
</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>
{{:Docs/Beats/ArchSpecific/PPC}}
{{:Docs/Beats/ArchSpecific/x86}}
{{:Docs/Beats/ArchSpecific/x86_64}}

Revision as of 06:16, 19 July 2013

DocsProject Header docTeam1.png


Note.png
Beat is open
This beat is now ready to have Fedora 25 content added by the beat writer