确定系统架构及版本
[root@fgr conf]
CentOS Linux release 7.6.1810 (Core)
[root@fgr conf]
3.10.0-957.12.2.el7.x86_64
[root@fgr conf]
Linux fgr.first 3.10.0-957.12.2.el7.x86_64
查看当前系统已经有了哪些源
[root@fgr conf]
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
源标识 源名称 状态
base/7/x86_64 CentOS-7 - Base 10,019
epel-apache-maven/7/x86_64 maven from apache foundation. 4
extras/7/x86_64 CentOS-7 - Extras 413
google-chrome google-chrome 3
updates/7/x86_64 CentOS-7 - Updates 1,945
repolist: 12,384
安装EPEL源
[root@fgr conf]
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
正在解决依赖关系
--> 正在检查事务
---> 软件包 epel-release.noarch.0.7-11 将被 安装
--> 解决依赖关系完成
依赖关系解决
==========================================================