Linux 64bit Yum installs 32,,64-bit RPM packages

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.