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

Document created by JeanPaulLucas Employee on Mar 1, 2016Last modified by Lenn Thompson on Apr 20, 2016
Version 2Show Document
  • View in full screen mode

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

Attachments

    Outcomes