什么是企业版 Linux 附加软件包(EPEL)?
企业版 Linux 附加软件包(以下简称 EPEL)是一个由特别兴趣小组创建、维护并管理的,针对 红帽企业版 Linux(RHEL)及其衍生发行版(比如 CentOS、 Scientific Linux)的一个高质量附加软件包项目。
EPEL 的软件包通常不会与企业版 Linux 官方源中的软件包发生冲突,或者互相替换文件。EPEL 与 Fedora 项目基本一致,包含完整的构建系统、升级管理器、镜像管理器等等。
EPEL官网看这里
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm #如地址无效请访问EPEL查询最新地址 #注意,本人版本为64位, #32位请下载http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm rpm -ivh epel-release-5-4.noarch.rpm yum makecache |
[root@localhost ~]# wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
--2012-08-28 05:10:23-- http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Resolving dl.fedoraproject.org... 209.132.181.24, 209.132.181.23, 209.132.181.27, ...
Connecting to dl.fedoraproject.org|209.132.181.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12232 (12K) [application/x-rpm]
Saving to: `epel-release-5-4.noarch.rpm‘
100%[===========================================================================================================================================>] 12,232 9.36K/s in 1.3s
2012-08-28 05:10:25 (9.36 KB/s) - `epel-release-5-4.noarch.rpm‘ saved [12232/12232]
[root@localhost ~]#
[root@localhost ~]# rpm -ivh epel-release-5-4.noarch.rpm
warning: epel-release-5-4.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]
[root@localhost ~]# yum makecache
Loaded plugins: fastestmirror
Determining fastest mirrors
* epel: mirror.bjtu.edu.cn
addons | 1.9 kB 00:00
base | 1.1 kB 00:00
epel | 3.7 kB 00:00
epel/filelists_db | 5.5 MB 01:54
epel/updateinfo | 459 kB 00:09
epel/other_db | 2.3 MB 00:52
epel/group_gz | 168 kB 00:05
epel/primary_db | 3.8 MB 01:39
extras | 2.1 kB 00:00
update | 1.9 kB 00:00
update/filelists_db | 3.0 MB 00:15
update/other_db | 14 MB 01:10
Metadata Cache Created
本文出自 “Linux运维” 博客,请务必保留此出处http://2853725.blog.51cto.com/2843725/1390969