[CentOS] Yum install preferred arch only

Tue Aug 7 18:05:04 UTC 2007
Jim Perrin <jperrin at gmail.com>

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...


The exclude= line in this post ->
http://lists.centos.org/pipermail/centos-devel/2007-August/003751.html
should help you out.

Drop that in the individual repo files, or globally in your yum.conf
Should work for you.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell