Centos64-bit yum will install two solutions for the same software package

Source: Internet
Author: User
System environment: Centos5.6X86 _ 64: about how to install two identical software packages in yuminstall, I just got on the 64-bit Cetnos system today and want to install mysql, after yuminstallmysql is used, I find that yum has i386 and x86_64 versions. Therefore, rpm-qa... system environment: Centos 5.6 X86_64

Note: about how to install two identical software packages in yum install

Today, I just got on the 64-bit Cetnos system and wanted to install mysql. after using yum install mysql, I found that it gave me yum i386 and x86_64 versions, therefore, rpm-qa | grep mysql has two identical mysql databases. if we know the problem is caused by yum, we can start with the yum configuration file; modify/etc/yum. conf file to exclude 32-bit yum installation.

# Vi/etc/yum. conf

[Main]
Cachedir =/var/cache/yum
Keepcache = 0
Debuglevel = 2

......



Exclude = *. I? 86



......

The exclude option supports regular expressions, *. I? 86 can be used to filter out 32-bit packages such as i386 and i686.

If you have installed some 32-bit software packages, you can also run the following command to delete them:

# Yum remove \ *. I \? 86


From lexus
Related Article

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.