• 添加额外的源, 使得yum可以安装更多的软件


    RHEL 官方扩展源

    yum localinstall http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm -y

    -------------------------------------------------------------------------
    RepoForge源

    http://repoforge.org/use/

    yum localinstall http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

    -------------------------------------------------------------------------
    http://pkgs.org/

    -------------------------------------------------------------------------
    http://seisman.info/linux-environment-for-seismology-research.html#id8

    CentOS由于很追求稳定性,所以官方源中自带的软件不多,因而需要一些第三方 源,比如EPEL、ATrpms、ELRepo、Nux Dextop、RepoForge等。根据上面提到的软件安装原则,为了尽可能保证系统的稳定性,此处大型第三方源只添加EPEL源、 Nux Dextop和ELRepo源。

    EPEL
    EPEL即Extra Packages for Enterprise Linux,为CentOS提供了额外的10000多个软件包,而且在不替换系统组件方面下了很多功夫,因而可以放心使用。

    sudo yum install epel-release
    执行完该命令后,在 /etc/yum.repos.d 目录下会多一个 epel.repo 文件。

    Nux Dextop
    Nux Dextop中包含了一些与多媒体相关的软件包,作者尽量保证不覆盖base源。官方说明中说该源与EPEL兼容,实际上个别软件包存在冲突,但基本不会造成影响:

    sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
    完成该命令后,在 /etc/yum/repos.d 目录下会多一个 nux-dextop.repo 文件。

    ELRepo
    ELRepo包含了一些硬件相关的驱动程序,比如显卡、声卡驱动:

    sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
    sudo rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
    完成该命令后,在 /etc/yum.repos.d 目录下会多一个 elrepo.repo 文件。

    安装yum-axelget
    yum-axelget是EPEL提供的一个yum插件。使用该插件后用yum安装软件时可以并行下载,大大提高了软件的下载速度,减少了下载的等待时间:

    sudo yum install yum-axelget
    安装该插件的同时会安装另一个软件axel。axel是一个并行下载工具,在下载http、ftp等简单协议的文件时非常好用。

  • 相关阅读:
    sharepoint ECMA 添加指定的人员和指定的角色到某个list里
    sharepoint ECMA 添加User到Site组
    sharepoint ECMA PeopleEditor 清除选中的中的人员
    sharepoinT Modal Dialog
    sharepoint ECMA
    sharepoint 列表查询范围
    sharepoint 2013 添加Quickpart
    背包、队列和栈
    Java 同步块
    Andriod性能优化笔记
  • 原文地址:https://www.cnblogs.com/answercard/p/8515938.html
Copyright © 2020-2023  润新知