Workload Automation

How to automatically install the 32 bit version of any Linux RedHat package? 

Mar 01, 2016 04:12 AM

An easy way to install the 32 and 64 bit version of any Linux RedHat package is to amend file  /etc/yum.conf  with below line:


          -       multilib_policy=all

Then run:

-       yum install <package>

 

The 32 and 64 bit versions of this <package> will be automatically installed

 

A typical /etc/yum.conf file might be:

[main]

cachedir=/var/cache/yum

keepcache=0

debuglevel=2

logfile=/var/log/yum.log

distroverpkg=redhat-release

tolerant=1

exactarch=1

obsoletes=1

gpgcheck=1

plugins=1

# Note: yum-RHN-plugin doesn't honor this.

metadata_expire=1h

# Default.

# installonly_limit = 3

multilib_policy=all

# PUT YOUR REPOS HERE OR IN separate files named file.repo

# in /etc/yum.repos.d

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.