Sep 19, 2018

How to list enabled repository on CentOS



$ sudo yum repolist enabled
Loaded plugins: langpacks, ulninfo
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
repo id                                                                        repo name                                                                                                                     status
!docker-ce-stable/x86_64                                                       Docker CE Stable - x86_64                                                                                                          7
!epel/x86_64                                                                   Extra Packages for Enterprise Linux 7 - x86_64                                                                                11,873
!mysql-connectors-community/x86_64                                             MySQL Connectors Community                                                                                                        36
!mysql-tools-community/x86_64                                                  MySQL Tools Community                                                                                                             47
!mysql57-community/x86_64                                                      MySQL 5.7 Community Server                                                                                                       187
!ol7_UEKR4/x86_64                                                              Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux 7Server (x86_64)                                                 378
!ol7_latest/x86_64                                                             Oracle Linux 7Server Latest (x86_64)                                                                                          19,324
repolist: 31,926