zoukankan      html  css  js  c++  java
  • 安装第三方RPM仓库

    1、安装EPEL源:

    CentOS 6.x
    [root@localhost /]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    

    CentOS 7.x

    [root@localhost /]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    

    CentOS

    [root@localhost /]# yum install epel-release
    
     
    2、安装RepoForge源:
    CentOS 6.x
    [root@localhost /]# yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
    

     CentOS 7.x

    [root@localhost /]# yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
    
     
    3、安装ELRepo源:
    Import the public key:
    rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
    

    Install CentOS 6.x:

    rpm -Uvh https://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm
    

    Install CentOS 7.x:

    rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
    
     
    4、安装Unx-Dextop源:
    CentOS 6.x
    [root@localhost /]# yum install http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
    

     CentOS 7.x

    [root@localhost /]# yum install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
    

    5、生成本地缓存:

    [root@localhost /]# yum makecache
    

    6、查询第三方源中文件列表:

    [root@localhost /]# yum list | grep rpmforge | grep lshw
    [root@localhost /]# yum list | grep epel | grep lshw
    

    7、安装软件:

    [root@localhost /]# yum -y install iftop lshw
    

    [THE END]

     
     
  • 相关阅读:
    深入浅出进程与线程的基本概念
    python中with的用法
    浮点型数据在内存中存储的表示
    自问问题列表以及网络答案整理
    看java源代码
    【设计模式】工厂方法
    SQL实现递归及存储过程中 In() 参数传递解决方案
    app与server联系
    添加service到SystemService硬件服务
    noproguard.classes-with-local.dex
  • 原文地址:https://www.cnblogs.com/configure/p/6202811.html
Copyright © 2011-2022 走看看