Redhat system yum source configuration 1

Source: Internet
Author: User

Users who have installed Linux software in redhat system yum source configuration 1 know that sometimes we install a software and need to rely on other software, so we must find all the software, this is a very troublesome task. Is there any way for it to find its own dependencies? The answer is yes, of course. We need to configure an artifact, yum, through which we can directly install the software. We only need to know the name of the software, let it directly associate all dependencies for installation. However, when I recently used yum, I found that the yum that comes with redhat is very annoying. Because the redhat yum online update is charged, it cannot be used if it is not registered. to use it, you need to uninstall the redhat yum, restart the installation, and configure other sources, the procedure is as follows: 1. Modify yum software. delete the yum of RHEL. This yum is depressing and always displays the disable characters. It is annoying, directly uninstall the yum [plain] rpm-aq | grep yum | xargs rpm-e -- nodeps 2. download CentOS yum and its dependent plug-in [plain] wget http://mirrors.163.com/centos/6/ OS /i386/Packages/yum-3.2.29-30.el6.centos.noarch.rpm wget http://mirrors.163.com/centos/6/ OS /i386/Packages/yum-metadata-parser-1.1.2-16.el6. I686.rpm wget http://mirrors.163.com/centos/6/ OS /i386/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm wget http://mirrors.163.com/centos/6/ OS /i386/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm if the above image cannot be found, please look for another image, such as: Drawing rpm-ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm rpm-ivh yum-plugin-fastestmirror-1.1.30-14.el6.n Oarch. rpm yum-3.2.29-30.el6.centos.noarch.rpm yum-metadata-parser-1.1.2-16.el6.i686.rpm 4. clean yum [plain] yum clean all. It is recommended that the best rhel .... delete the repo repository in/etc/yum. repos. d in this folder, vim/etc/yum. repos. d. Delete it directly.

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.