在Centos 5.x或6.x上安装RHEL EPEL Repo
来源:互联网 发布:怎么找淘宝小二电话 编辑:程序博客网 时间:2024/05/29 16:32
epository,资源库,源的意思。RHEL EPEL(Extra Packages for Enterprise Linux) Repo是Linux发行版中最大的软件仓库之一,免费,丰富的软件包更新。
安装步骤
Centos 5.x
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpmwget http://rpms.famillecollet.com/enterprise/remi-release-5.rpmrpm -ivh epel-release-5-4.noarch.rpmrpm -ivh remi-release-5.rpm
Centos 6.x
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmwget http://rpms.famillecollet.com/enterprise/remi-release-6.rpmrpm -ivh epel-release-6-8.noarch.rpmrpm -ivh remi-release-6.rpm
完成后的设置
ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo
返回
/etc/yum.repos.d/epel.repo/etc/yum.repos.d/epel-testing.repo/etc/yum.repos.d/remi.repo
允许remi repository
vi /etc/yum.repos.d/remi.repo
编辑[remi]下的enabled选项从0设为1
[remi]name=Les RPM de remi pour Enterprise Linux 6 - $basearch#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirrorenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
至此,安装完成。
安装完运行yum报错:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决办法:
vi /etc/yum.repos.d/epel.repo
编辑[epel]下的baseurl前的#号去掉,mirrorlist前添加#号。正确配置如下:
[epel]name=Extra Packages for Enterprise Linux 6 - $basearchbaseurl=http://download.fedoraproject.org/pub/epel/6/$basearch#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearchfailovermethod=priorityenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
再运行
yum makecache
0 0
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- Installing RHEL EPEL Repo on Centos 5.x or 6.x
- CentOS 5.* 6.*下安装RHEL EPEL Repo软件源
- How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x
- How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x
- RHEL/CentOS 7.x/6.x/5.x开启EPEL仓库
- 在Centos 5.x 或者 6.x 上安装最新版的EPEL(比网易的源更新)
- Install EPEL Repository On RHEL / CentOS / Scientific linux 6.x, 5.x
- CentOS 6.X 安装 EPEL 源
- RHEL(redhat 5.x,6.x)和CentOS上Gitlab安装全过程
- How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x
- RHEL/CentOS 7.x使用EPEL第三方yum源
- CentOS/RHEL安装X Window
- 在CentOS 6.x 上安装 vnc
- RHEL/CentOS/SL Linux 6.x使用EPEL 6的yum软件源
- RHEL/CentOS 5.x使用第三方软件库(EPEL与RPMForge、RPMFusion软件库)
- 对oracle数据库使用sql脚本进行导入导出
- 信息学奥林匹克竞赛-Pascal的多种退出语句用法
- #import、#include和@class有什么区别?
- SqlBulkCopy快速批量上传大量数据到SqlServer
- ofbiz 安装以及使用mysql数据库
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- Android webView打不开一些网页的解决办法
- 9.Python标准库_当前进程信息 (os包)
- IOS-10-详谈OC(object-c)深浅复制/拷贝-什么情况下用retain和copy,mutableCopy
- OC方面的基础笔记
- 解决在eclipse中无法查看引用jar包的源码
- 51nod 1294 :修改数组 && HDU 5256:序列变换
- Android -- Facebook -- HashKey的生成
- OC学习笔记——OC中的类