标签:epel
请注意EPEL 的安装包是独立编译的,所以它可以安装在32位和64位系统中。
2. 安装rpm包:rpm -ivh epel-release-6-8.noarch.rpm
3. 检查epel源:yum repolist 如出现如下类似提示则表示成功了;
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.vonline.vn
* epel: buaya.klas.or.id
* extras: centos-hn.viettelidc.com.vn
* updates: mirrors.fibo.vn
repo id repo name status
base CentOS-6 - Base 6,381
epel Extra Packages for Enterprise Linux 6 - x86_64 10,023
extras CentOS-6 - Extras 13
updates CentOS-6 - Updates 1,555
repolist: 18,019
4. 安装epel的时候,执行yum repolist 可能会报错:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决办法:处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉。即可。
本文出自 “心之所向” 博客,请务必保留此出处http://933760.blog.51cto.com/923760/1671022
标签:epel
原文地址:http://933760.blog.51cto.com/923760/1671022