zoukankan      html  css  js  c++  java
  • 如何将EPEl安装在Centos7上

    How to install EPEL for Centos 7

    [root@localhost ~]# cat  /etc/centos-release
    CentOS 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: fastestmirror
    epel-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.noarch
    Marking /var/tmp/yum-root-adCP8h/epel-release-7-0.2.noarch.rpm to be installed
    Resolving Dependencies
    --> Running transaction check
    ---> Package epel-release.noarch 0:7-0.2 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package           Arch        Version    Repository                       Size
    ================================================================================
    Installing:
     epel-release      noarch      7-0.2      /epel-release-7-0.2.noarch       22 k
    
    Transaction Summary
    ================================================================================
    Install  1 Package
    
    Total size: 22 k
    Installed size: 22 k
    Is this ok [y/d/N]: y
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running 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 repolist
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
     * epel: nl.mirror.eurid.eu
    repo id                                                                                           repo name                                                                                                                            status
    epel/x86_64                                                                                       Extra Packages for Enterprise Linux 7 - x86_64                                                                                       4,572
    repo                                                                                              Updates PRE Release                                                                                                                  8,465
    repolist: 13,037
    [root@localhost ~]#
    
    

    Install packages:

     

    Example: Thunderbird.

    [root@localhost ~]# yum install  thunderbird
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
     * epel: be.mirror.eurid.eu
    Resolving Dependencies
    --> Running transaction check
    ---> Package thunderbird.x86_64 0:24.5.0-2.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =============================================================================================================================================================================================================================================
     Package                                                     Arch                                                   Version                                                       Repository                                            Size
    =============================================================================================================================================================================================================================================
    Installing:
     thunderbird                                                 x86_64                                                 24.5.0-2.el7                                                  epel                                                  45 M
    
    Transaction Summary
    =============================================================================================================================================================================================================================================
    Install  1 Package
    
    Total download size: 45 M
    Installed size: 86 M
    Is this ok [y/d/N]:
    转载于 http://www.unixmen.com/install-epel-repository-centos-rhel-7/
  • 相关阅读:
    sql server 2000 “因为选定的用户拥有对象,所以无法除去该用户。”问题(含图说明)
    关于datalength函数,解决ntext等无法比较空值的问题
    Analysis service的manager无法连接,不能连接服务器(xxxxx)注册表,或者还不是olap Administrator组成员
    数据库查询问题int型字段对应以Int型数值+','组成的nvarchar型字段
    Asp与Asp.net共用cookie
    什么是SPSS
    TransactSQL语言提供的日期和时间函数(以备后用)
    关于sql语句的执行效率测试
    sqlserver数据仓库学习第一课(含资料)
    理解collate Chinese_PRC_CI_AS NULL
  • 原文地址:https://www.cnblogs.com/chaochao520/p/5895644.html
Copyright © 2011-2022 走看看