CentOS 安装 epel repo const_yixinyiyi的日志 网易博客

CentOS 安装 epel repo - const_yixinyiyi的日志 - 网易博客

CentOS 安装 epel repo   

2011-10-24 10:48:27|  分类: Web |  标签:  |字号 订阅

 Cent OS 使用EPEL,

用惯了Ubuntu 的 apt-get, 觉得非常方便,

 
在RHEL 里必须买服务才能用yum 更新,觉得非常不方便,幸好有 CentOS, 呵呵…
 
幸好有 CentOS,  可是CentOS 的源太少,可以用EPEL解决这个问题.
 
1) EPEL 软件仓库
 
EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。装上了 EPEL,就像在 Fedora 上一样,可以通过 yum install package-name,随意安装软件。
 
EPEL 安装非常简单
 
su -c ‘rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm’
su -c ‘yum install foo’
也可在下面链接里寻找
 
http://fedoraproject.org/wiki/EPEL/FAQ#howtouse
 
 
安装完毕之后,即可使用 yum 来安装软件,比如 git:
yum install git
 
若要查看 EPEL Repo 中是否存在某个软件包:
yum search package-name    
原文地址:https://www.cnblogs.com/lexus/p/2714629.html