When installing the Oracle database, many packages are required for both the 32-bit version and the 64-bit version of the RPM package.
Installation via the Yum command is convenient, but only 64-bit RPM packages are installed by default
We can install the 32-bit package by using the following method:
1. Modify the yum.conf configuration file to allow the Yum command to install 32, 64-bit RPM packages simultaneously
echo "Multilib_policy=all" >>/etc/yum.conf
[[email protected] etc]# yum install unixodbc-develloaded plugins: Fastestmirrorloading mirror speeds from cached hostfilesetting up install processresolving dependencies--> running transaction check---> Package unixodbc-devel.i686 0:2.2.14-12.el6_3 will be installed---> Package unixodbc-devel.x86_64 0:2.2.14-12.el6_3 will be installed--> finished dependency resolutiondependencies resolved========================================================== =============================================================================================================== =========================== package arch Version Repository size================================================================================== =============================================================================================================== ===installing: unixodbc-devel i686 2.2.14-12.el6_3 c6-media 53 k unixODBC-devel x86_64 2.2.14-12.el6_3 c6-media 53 ktransaction summary================================================================= ===================================================================================================================================install 2 package (s) total download size: 106 Kinstalled size: 364 kis this ok [y/n]: ydownloading packages:-------- --------------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------total 6.6 mb/s | 106 kb 00:00 Running rpm_check_debugRunning Transaction TestTransaction Test succeededrunning transaction installing : unixodbc-devel-2.2.14-12.el6_3. x86_64 1/2 Installing : unixodbc-devel-2.2.14-12.el6_3.i686 2/ 2 verifying : unixodbc-devel-2.2.14-12.el6_3.i686 1/2 Verifying : unixodbc-devel-2.2.14-12.el6_3.x86_64 2/2 Installed: unixodbc-devel.i686 0:2.2.14-12.el6_3 unixODBC-devel.x86_64 0:2.2.14-12.el6_3 complete!
2. Install the 32-bit package directly via the Yum install
Yum Install unixodbc-devel*i686
Note: CentOS will rename the i386 package to i686, so the Oracle installer will not find the i386 package, as long as the installation is complete, the same, you can directly ignore
Linux 64bit Yum installs 32,,64-bit RPM packages