![epel centos](https://i-blog.csdnimg.cn/blog_migrate/a56b303c05dbcae7ddcae51db74bc04e.png)
epel centos
Extra Packages for Enterprise Linux a.k.a EPEL is open source and free community supported project by Fedora. EPEL provides high quality uptodate packages for its upstream distributions like RedHat, CentOS and Scientific Linux. EPEL is mainly provides yum and dnf based rpm packages.
适用于企业Linux的额外软件包(又名EPEL)是Fedora提供的开源和免费社区支持的项目。 EPEL为RedHat,CentOS和Scientific Linux等上游发行版提供了高质量的最新软件包。 EPEL主要提供基于yum和dnf的rpm软件包。
将EPEL储存库添加到CentOS和RedHat (Add EPEL Repository To CentOS and RedHat)
First we need to add repository information to our system. As we know CentOS and RHEL are the same distributions so all commands will be the same.
首先,我们需要将存储库信息添加到我们的系统中。 我们知道CentOS和RHEL是相同的发行版,因此所有命令都将相同。
为CentOS添加EPEL,为64位添加RedHat 6 (Add EPEL For CentOS and RedHat 6 For 64 Bit)
We will download the package with wget
我们将使用wget
下载软件包
$ wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
We will install epel
package with rpm
command with root
privileges by using sudo
.
我们将使用sudo
使用具有root
特权的rpm
命令安装epel
软件包。
$ sudo rpm -ivh epel-release-6-8.noarch.rpm
为CentOS添加EPEL,为32位添加RedHat 6 (Add EPEL For CentOS and RedHat 6 For 32 Bit)
We will download the package with wget
我们将使用wget
下载软件包
$ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
We will install epel
package with rpm
command with root
privileges by using sudo
.
我们将使用sudo
使用具有root
特权的rpm
命令安装epel
软件包。
$ sudo rpm -ivh epel-release-6-8.noarch.rpm