[relnotes] [Fedora Project Wiki] Update of "Docs/Beats/ArchSpecific" by DavidWoodhouse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Fedora Project Wiki" for change notification.

The following page has been changed by DavidWoodhouse:
http://www.fedoraproject.org/wiki/Docs/Beats/ArchSpecific

The comment on the change is:
Move RPM biarch stuff into higher-level arch-specific notes section.

------------------------------------------------------------------------------
  = Architecture Specific Notes =
  
  This section provides notes that are specific to the supported hardware architectures of Fedora Core.
+ 
+ == 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 {{{rpm -qa}}} might appear to include duplicate packages, since the architecture is not displayed.  Instead, use the {{{repoquery}}} command, part of the `yum-utils` package in Fedora Extras, which displays architecture by default.  To install `yum-utils`, run the following command:
+ 
+ {{{ su -c 'yum install yum-utils'
+ }}}
+ 
+ To list all packages with their architecture using {{{rpm}}}, run the following command:
+ 
+ {{{ rpm -qa --queryformat "%{name}-%{version}-%{release}.%{arch}\n" 
+ }}}
+ 
+ You can add this to `/etc/rpm/macros` (for a system wide setting) or `~/.rpmmacros` (for a per-user setting).  It changes the default query to list the architecture:
+ 
+ {{{ %_query_all_fmt         %%{name}-%%{version}-%%{release}.%%{arch}
+ }}}
  
  [[Include(/PPC)]]
  


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Gnome Users]     [KDE Users]

  Powered by Linux