常用yum源

发布于 2021-03-15  41 次阅读


1.EPEL

EPEL是Extra Packages for Enterprise Linux的缩写,其为EL6或EL7提供重建的Fedora组件,并且不会替换base中的包。EPEL算得上是最著名的第三方软件源,几乎各个云服务器厂商提供的CentOS 系统均会自带该源并默认启用。其收录了web中常用的Nginx软件包。

很多其他源都依赖于epel源,所以尽量先安装此源

官网为http://fedoraproject.org/wiki/EPEL

#安装命令
yum install epel-release

2.ELRepo

ELRepo是The Community Enterprise Linux Repository的缩写,旨在提供驱动程序来增强系统的硬件支持(包括:显示、文件系统、硬件监控、网络、音效、网络摄像镜驱动程序)。也提供较新版的内核,例如支持BBR算法的4.9+内核。

ELRepo的官方是http://elrepo.org

#导入公钥
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
#CentOS-8安装
yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
#CentOS-7安装
yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm

3.Remi

Remi维护大量组件,包括最新版的PHP, GLPI等。Remi的safe仓库不会替代系统的基本组件,但remi-phpxx.repo中的软件包会替代系统默认的php。需要注意的是Remi可能会与IUS的软件包冲突,因为双方都提供最新版的PHP。

Remi的官方网站是http://rpms.remirepo.net/

#Remi库依赖于EPEL库,安装前需要安装EPEL库
#CentOS-8安装
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
#CentOS-7安装
yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm

4.MariaDB

MariaDB数据库yum源,用于安装MariaDB

MariaDB的官网为https://mariadb.org

#创建/etc/yum.repos.d/MariaDB.repo文件并写入以下内容
#CentOS-8, MariaDB10.5

# MariaDB 10.5 CentOS repository list - created 2021-03-16 02:41 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
baseurl = https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/10.5/centos8-amd64
module_hotfixes=1
gpgkey=https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck=1

#CentOS-7, MariaDB-10.5

# MariaDB 10.5 CentOS repository list - created 2021-03-16 02:44 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
baseurl = https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/10.5/centos7-amd64
gpgkey=https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck=1

5.Nux Dextop

EL的面向桌面和多媒体的RPM存储库。 它包含许多图形程序(例如Ardour),还包含基于文本的应用程序(例如Cone)。

Nux Dextop库依赖与EPEL,主要用于安装fuse-exfat 和 exfat-utils

Nux Dextop官网https://li.nux.ro/repos.html

#CentOS-7
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm