[CentOS] Yum install preferred arch only

Tue Aug 7 18:07:13 UTC 2007
Ross S. W. Walker <rwalker at medallion.com>

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Mark Hull-Richter
> Sent: Tuesday, August 07, 2007 2:01 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Yum install preferred arch only
> 
> On 8/7/07, Ross S. W. Walker <rwalker at medallion.com> wrote:
> >
> > I have a  couple 64-bit CentOS 5 installations here and was 
> wondering  if
> > there was a  yum option to have it install only x86_64 arch 
> by default
> > if no arch  is specified.
> >
> > I tired of  having to append .x86_64 on all package names I 
> only want
> > the x86_64  versions of, if I want the i386 versions too I would add
> > the .i386  package to the list...
> >
> 
> Unless you are planning to run only stripped-down systems, that can
> cause trouble.  A lot of packages do not have 64-bit versions and need
> (lots of) 32-bit support packages and libraries to run.  E.g., web
> browsers (whose 64-bit versions run just fine until you need a plug-in
> that's only available in 32-bit versions).
> 
> Just a comment - I don't have a specific solution (yet).

Yeah, it's stripped down, server installs, I do have glibc.i686 and a
couple other libs for CLI i386 only apps, but I'm tired of yum installing
executable packages and having their i386 counter parts thrown in, take
subversion for example and the ton of i386 dependencies it brings with
it.

exclude=*.i386 is a so-so solution, but I cannot override it for explicit
installs of i386 packages without commenting it out first.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.