#查看Centos yum源版本
#安装Centos epel yum源
#查看Centos yum源 enable的模块
备注:使用Centos版本如下:
[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
#查看Centos yum源版本
[root@localhost ~]# yum --version
3.4.3
Installed: rpm-4.11.3-32.el7.x86_64 at 2019-11-16 09:45
Built : CentOS BuildSystem http://bugs.centos.org at 2018-04-11 03:54
Committed: Panu Matilainen pmatilai@redhat.com at 2017-11-13
Installed: yum-3.4.3-158.el7.centos.noarch at 2019-11-16 09:46
Built : CentOS BuildSystem