摘要:本文主要向大家介绍了Linux运维知识之CentOS7安装EPEL的两种方式,通过具体的内容向大家展现,希望对大家学习Linux运维知识有所帮助。
本文主要向大家介绍了Linux运维知识之CentOS7安装EPEL的两种方式,通过具体的内容向大家展现,希望对大家学习Linux运维知识有所帮助。
epel是社区强烈打造的免费开源发行软件包版本库。EPEL,即Extra Packages for Enterprise Linux的简称,是为企业级Linux提供的一组高质量的额外软件包,包括但不限于Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Enterprise Linux (OEL)。(关于 : EPEL)方法一:yum命令安装yum install epel-release -y方法二:手动安装针对系统架构选择相应的类型://dl.fedoraproject.org/pub/epel/7/。我们使用的x86_64,就要进入该目录下寻找相应包,安装方法如下:# rpm -vih //dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm或者:# wget //dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm# rpm -vih epel-release-7-2.noarch.rpm更新数据yum clean all && yum makecache查看仓库多了下面一行,有一万多个包。*epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,018[root@hddcluster2 ~]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* epel: mirror01.idc.hinet.net
* extras: mirrors.aliyun.com
* updates: mirrors.cn99.com
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,363
*epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,018
extras/7/x86_64 CentOS-7 - Extras 435
updates/7/x86_64 CentOS-7 - Updates 418
repolist: 21,234
[root@hddcluster2 ~]#
本文由职坐标整理并发布,希望对同学们有所帮助。了解更多详情请关注系统运维Linux频道!
您输入的评论内容中包含违禁敏感词
我知道了
请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式IT培训就业服务领导者 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号