首页 > 代码库 > 如何将EPEl安装在Centos7上
如何将EPEl安装在Centos7上
How to install EPEL for Centos 7
[root@localhost ~]# cat /etc/centos-releaseCentOS Linux release 7 (Broken)
Download EPEL and install using yum:
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Or,
yum install epel-release
Sample output:
Loaded plugins: fastestmirrorepel-release-7-0.2.noarch.rpm | 13 kB 00:00 Examining /var/tmp/yum-root-adCP8h/epel-release-7-0.2.noarch.rpm: epel-release-7-0.2.noarchMarking /var/tmp/yum-root-adCP8h/epel-release-7-0.2.noarch.rpm to be installedResolving Dependencies--> Running transaction check---> Package epel-release.noarch 0:7-0.2 will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================ Package Arch Version Repository Size================================================================================Installing: epel-release noarch 7-0.2 /epel-release-7-0.2.noarch 22 kTransaction Summary================================================================================Install 1 PackageTotal size: 22 kInstalled size: 22 kIs this ok [y/d/N]: yDownloading packages:Running transaction checkRunning transaction testTransaction test succeededRunning transaction Installing : epel-release-7-0.2.noarch 1/1 Verifying : epel-release-7-0.2.noarch 1/1 Installed: epel-release.noarch 0:7-0.2 Complete!
Check if EPEL repo Installed:
[root@localhost ~]# yum update
[root@localhost ~]# yum repolistLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfile * epel: nl.mirror.eurid.eurepo id repo name statusepel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 4,572repo Updates PRE Release 8,465repolist: 13,037[root@localhost ~]#
Install packages:
Example: Thunderbird.
[root@localhost ~]# yum install thunderbirdLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfile * epel: be.mirror.eurid.euResolving Dependencies--> Running transaction check---> Package thunderbird.x86_64 0:24.5.0-2.el7 will be installed--> Finished Dependency ResolutionDependencies Resolved============================================================================================================================================================================================================================================= Package Arch Version Repository Size=============================================================================================================================================================================================================================================Installing: thunderbird x86_64 24.5.0-2.el7 epel 45 MTransaction Summary=============================================================================================================================================================================================================================================Install 1 PackageTotal download size: 45 MInstalled size: 86 MIs this ok [y/d/N]:
转载于 http://www.unixmen.com/install-epel-repository-centos-rhel-7/
如何将EPEl安装在Centos7上
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。