Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to change the epel source for Centos

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the knowledge of "how to change the source of epel in Centos". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

First, what is epel?

If you want to get the high quality, high performance and high reliability of RHEL, but also need easy-to-use (the key is free) software package update function, then Fedora Project's EPEL (Extra Packages for Enterprise Linux) is just for you. EPEL is a project created by the Fedora community to provide high-quality software packages for RHEL and derivative distributions such as CentOS and Scientific Linux.

Second, experience in use.

1. There is no need to change the original yum source. A new repo will be generated after installation.

2Perl will have many source addresses. If one fails, it will go to the other.

Http://mirror.xfes.ru/fedora-epel/6/x86_64/ibus-table-chinese-scj-1.3.4-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6-"" Trying other mirror. http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/ibus-table-chinese-scj-1.3.4-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6-"" Trying other mirror.http: / / repo.boun.edu.tr/epel/6/x86_64/ibus-table-chinese-scj-1.3.4-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6-"" kjs.

3, if the package downloaded is incomplete during the update, it will not be installed. In this way, dependencies can be taken care of.

Third, choose 6, 5, 5 to install epel,centos6.

32-bit system selection:

Rpm-ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmrpm-ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

64-bit system selection:

Rpm-ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm-ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

Import key:

Rpm--import / etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6rpm-- import / etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-5

If you use newer software, just use the file epel-test.repo.

Don't forget to install yum install yum-priorities

[root@localhost yum.repos.d] # ls | grep epelepel.repoepel-testing.repo, "how to change epel sources with Centos" ends here. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report