[Yum] Yum on 64 bit RedHat...

seth vidal skvidal at linux.duke.edu
Mon Mar 12 01:29:57 UTC 2007


On Tue, 2007-03-06 at 12:22 -0500, Scott Bambrough wrote:

> I'm assuming 'exclude: *.i?86' this is an option I would set in the 
> config file, and then yum would never consider an rpm that matches an 
> architecture specfied by the exclude, and that's why you don't recommend it.


why I don't recommend it is that whether anyone wants to believe it or
not people frequently need multiarch packages and it's not all that much
silliness to have them available for installs.



> This seems to work for me as well:
> 
> $ yum --exclude=*.i?86 install qt-devel
> 
> Though I'd prefer to be able to say something more definite like:
> 
> $ yum --include=x86_64 install qt-devel


so do that. includepkgs= is in the man page for yum.conf, too.



> $ yum --arch=x86_64 install qt-devel

x86_64 implies support for i386, i586, i686 as well - so setting the
arch that way wouldn't do anything that it doesn't do now.

-sv





More information about the Yum mailing list