CentOS 安装EPEL扩展源
来源:互联网 发布:js二进制转base64编码 编辑:程序博客网 时间:2024/06/05 08:29
CentOS 官方源很多软件都没有,编译安装又比较麻烦,可以安装EPEL源解决此问题。
EPEL即Extra Packages for Enterprise linux,也就是为企业级Linux提供的扩展软件源,适用于RHEL,CentOS,Scientific ,Linux系统。
Centos5安装:
# rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Centos6安装:
# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Centos7安装:
# rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
国内访问修改为sodu提供的镜像:
cat > /etc/yum.repos.d/epel.repo <<EOF
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
baseurl=http://mirrors.sohu.com/fedora-epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
baseurl=http://mirrors.sohu.com/fedora-epel/6/$basearch/debug
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
baseurl=http://mirrors.sohu.com/fedora-epel/6/SRPMS
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
EOF
- CentOS 安装EPEL扩展源
- Redhat/Centos安装EPEL扩展源
- centos 增加扩展源EPEL
- centos安装epel源
- RHEL CentOS 安装 EPEL RPMForge扩展软件源
- Centos中安装epel源
- Centos上安装Epel源
- 给centOS安装epel源
- CentOS 6.4安装epel源
- CentOS安装EPEL软件源
- 如何在centos上安装epel源
- RHEL/CentOS安装EPEL的YUM源
- CentOS安装 EPEL yum源方法
- centos\ oralce linux 安装 epel 源
- 如何在CentOS上安装EPEL源
- 在CentOS 上安装EPEL源
- Linux CentOS下EPEL源的安装
- centos 7 epel源 安装jq
- [转载]八大排序算法
- matlab环境下安装libsvm
- 排序算法算法之Quicksort
- javascript-dom
- 【总结】10月训练赛第1场
- CentOS 安装EPEL扩展源
- [转载]最大连续子序列求和详解
- Git 常见错误
- CentOS 6.5 搭建Mfs
- CLRS 16.3赫夫曼编码
- [笨木头Unity3D]杂记003·Unity在Android中读取文件
- Android全局变量的定义与使用
- 从单机到集群会话的管理之集群模式二(更大的集群)
- C/C++高阶语法:引用