yum—repo—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
-------------------------------------------------------------------------
我电脑中的 yum 源 如下:
-------------------------------------------------------------------------
[root@localhost 6E6BD26C47A680C4]# yum repolist
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.neu.edu.cn
* elrepo: repos.lax-noc.com
* epel: kartolo.sby.datautama.net.id
* extras: mirror.neu.edu.cn
* nux-dextop: mirror.li.nux.ro
* rpmforge: mirrors.neusoft.edu.cn
* updates: mirror.neu.edu.cn
源标识 源名称 状态
!CentOS7-ISO CentOS-7 - CentOS7-ISO 8,652
adobe-linux-x86_64 Adobe Systems Incorporated 2
base/7/x86_64 CentOS-7 - Base 9,007
elrepo ELRepo.org Community Enterprise Linux Repository - el7 145
*epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 9,002
extras/7/x86_64 CentOS-7 - Extras 190
nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 2,351
rpmforge RHEL 7 - RPMforge.net - dag 245
updates/7/x86_64 CentOS-7 - Updates 369
repolist: 29,963
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等简单协议的文件时非常好用。
-------------------------------------------------------------------------
我电脑中的 yum 源 如下:
-------------------------------------------------------------------------
[root@localhost 6E6BD26C47A680C4]# yum repolist
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.neu.edu.cn
* elrepo: repos.lax-noc.com
* epel: kartolo.sby.datautama.net.id
* extras: mirror.neu.edu.cn
* nux-dextop: mirror.li.nux.ro
* rpmforge: mirrors.neusoft.edu.cn
* updates: mirror.neu.edu.cn
源标识 源名称 状态
!CentOS7-ISO CentOS-7 - CentOS7-ISO 8,652
adobe-linux-x86_64 Adobe Systems Incorporated 2
base/7/x86_64 CentOS-7 - Base 9,007
elrepo ELRepo.org Community Enterprise Linux Repository - el7 145
*epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 9,002
extras/7/x86_64 CentOS-7 - Extras 190
nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 2,351
rpmforge RHEL 7 - RPMforge.net - dag 245
updates/7/x86_64 CentOS-7 - Updates 369
repolist: 29,963