RedHat Enterprise Linux6.4 using CentOS Yum

Source: Internet
Author: User

x86_64 Address: http://mirrors.163.com/centos/6/os/x86_64/Packages/

The necessary packages to download are (for example, 64-bit systems):


1> python-iniparse-0.3.1-2.1.el6.noarch.rpm


2> yum-3.2.29-40.el6.centos.noarch.rpm


3> yum-metadata-parser-1.1.2-16.el6.x86_64.rpm


4> yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm

Uninstall the Yum that comes with Redhat

Rpm-qa | grep Yum | Xargs rpm-e--nodeps

Note:1> Xargs is a common command for UNIX and UNIX-like operating systems. It does this by converting the argument list to small pieces to pass to other commands to avoid the problem of too long argument lists

2>--nodeps forced uninstallation, regardless of dependencies



RPM-IVH python-iniparse-0.3.1-2.1.el6.noarch.rpm

RPM-IVH yum-metadata-parser-1.1.2-16.el6.x86_64.rpm

RPM-IVH yum-3.2.29-40.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm

[note]: The last 2 need to be installed together, or there will be a dependency error


Download the Centos6-base-163.repo file in the http://mirrors.163.com CentOS Help document and store it in/ETC/YUM.REPOS.D

cp/usr/local/src/centos6-base-163.repo/etc/yum.repos.d/



Edit the Centos6-base-163.repo file to change the $releasever to the CentOS version number

Vi/etc/yum.repos.d/centos6-base-163.repo

:%s/$releasever/6.5/g

6. Yum Clean all clears the original cache

7. Yum Makecache get Yum list

The following prompt indicates that the Yum change is complete:

Metadata Cache Created


RedHat Enterprise Linux6.4 using CentOS Yum

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.