Contents

CentOS 常用yum源

Contents

https://statics.lshell.com/logo/centos-logo.png

如果要稳定建议使用系统自带的源,测试环境中有时候会使用到比较新软件版,这时候就需要用到第三方源了。收藏几个靠谱的第三方源,分为为:EPel、REMI、Webtatic、RPMForge。

1、EPEL:算得上是最著名的第三方软件源,此源能解决大多数的安装需求。由 Fedora 社区创建维护,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。EPEL中含有大量的软件,对官方标准源是一个很好的补充。

1
2
3
4
5
# 安装方法:  
yum install epel-release  
yum makecache fast  

```2、**[REMI](https://rpms.remirepo.net/)**:源中的软件几乎都是最新稳定版。[Configuration wizard](https://rpms.remirepo.net/wizard/)  

CentOS 6

yum install https://rpms.remirepo.net/enterprise/remi-release-6.rpm

CentOS 7

yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm

CentOS 8

dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

CentOS 6

yum install https://mirror.webtatic.com/yum/el6/latest.rpm

CentOS 7

yum install https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

CentOS 6

i686

yum install http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

x86_64

yum install http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

CentOS 7

yum install http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm