[rhelv6-list] Install 32-Bitt runtime libraries

Gary Gatling gsgatlin at ncsu.edu
Fri Nov 19 19:11:31 UTC 2010


Hello,

I was able to install the 32 bit packages on a RHEL 6 64 bit machine post 
install without too much typing like this.

rpm -qa | grep x86_64 | sed 's at x86_64@i686@' > packagelist
for i in `cat packagelist`;do yum -y install $i;done

"yum install *.i?86" didn't work when I tried it (there was a conflict 
and it also seemed like it was trying to install everything under the 
sun?) and changing multilib_policy to "all" didn't seem to automagically 
get the packages when I did a yum update. Maybe I was doing something 
wrong. So maybe this is the simplest way without making a kickstart and 
adding all the packages into that. (like foo.i686)

If anyone knows an easier/better way I'd like to hear about it. I'm going 
to need the 32 bit libraries for certain apps (like flash) and some of the 
code some students compiled here when we were still 32 bit only.

Cheers,

Gary Gatling      | ITECS Systems

On Tue, 16 Nov 2010, Bill Nottingham wrote:

> Greg_Swift at aotx.uscourts.gov (Greg_Swift at aotx.uscourts.gov) said:
>>> I have installed a fresh system with "Red Hat Enterprise Linux
>>> Server release 6.0 (Santiago)" but in the default installation
>>> of a  Software Development Workstation the 32-bit runtime libraries
>>> are missing
>>> The command     yum list *.i?86  gave me a list of the available
>>> packages. But its a little bit tedious to install each package
>> separately.
>>>  I would prefer a 'yum groupinstall' to get all needed libraries at once.
>>
>> I would suggest checking to see if `yum install *.i?86` does what you want.
>
> Also, check 'man yum.conf', search for 'multilib_policy':
>
>  multilib_policy Can be set to 'all' or 'best'. All means install all possible
>     arches for any package  you want to install. Therefore yum install foo will
>     install foo.i386 and foo.x86_64 on x86_64, if it is available. Best means
>     install the best arch for this platform, only.
>
> The default is 'best'; you can set it to 'all'. (Note that frobbing of this
> config is not supported in anaconda itself, but you can certainly specify
> <foo>.i686 in kickstart.)
>
> Bill
>
> _______________________________________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-list
>


More information about the rhelv6-list mailing list