Linux Administrator

How to List all Installed Repository on CentOS and RHEL

Question:- Recently on of my user asked me,In CentOS or RHEL how can I get a list of installed repositories on the sytem?

Answer: You can easily list all the installed repository on your system using below command.

In this tutorial I will show you how list all installed repository on your system.

List of Installed Repositories

# yum repolist
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * epel: mirror.oss.ou.edu
 * ius: mirror.team-cymru.org
 * remi-php56: repo1.dal.innoscale.net
 * remi-safe: repo1.dal.innoscale.net
 * rpmforge: mirror.us.leaseweb.net
repo id                                       repo name                                                                                    status
base                                          CentOS-6 - Base                                                                                6,672+34
blackfire                                     blackfire                                                                                             4
centos-sclo-rh                                CentOS-6 - SCLo rh                                                                            6,143+123
epel                                          Extra Packages for Enterprise Linux 6 - x86_64                                               11,762+695
extras                                        CentOS-6 - Extras                                                                                    46
ius                                           IUS Community Packages for Enterprise Linux 6 - x86_64                                          190+205
mariadb                                       MariaDB                                                                                              17
mongodb-org-3.2                               MongoDB Repository                                                                                   90
remi-php56                                    Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_64                                    15+424
remi-safe                                     Safe Remi's RPM repository for Enterprise Linux 6 - x86_64                                    121+2,131
rpmforge                                      RHEL 6 - RPMforge.net - dag                                                                    4,696+22
updates                                       CentOS-6 - Updates                                                                                  809
vz-base                                       vz-base                                                                                               3
vz-updates                                    vz-updates                                                                                            8
repolist: 30,576

List of Enabled Repositories

# yum repolist enabled
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * epel: mirror.oss.ou.edu
 * ius: mirror.team-cymru.org
 * remi-php56: repo1.dal.innoscale.net
 * remi-safe: repo1.dal.innoscale.net
 * rpmforge: mirror.us.leaseweb.net
repo id                                       repo name                                                                                    status
base                                          CentOS-6 - Base                                                                                6,672+34
blackfire                                     blackfire                                                                                             4
centos-sclo-rh                                CentOS-6 - SCLo rh                                                                            6,143+123
epel                                          Extra Packages for Enterprise Linux 6 - x86_64                                               11,762+695
extras                                        CentOS-6 - Extras                                                                                    46
ius                                           IUS Community Packages for Enterprise Linux 6 - x86_64                                          190+205
mariadb                                       MariaDB                                                                                              17
mongodb-org-3.2                               MongoDB Repository                                                                                   90
remi-php56                                    Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_64                                    15+424
remi-safe                                     Safe Remi's RPM repository for Enterprise Linux 6 - x86_64                                    121+2,131
rpmforge                                      RHEL 6 - RPMforge.net - dag                                                                    4,696+22
updates                                       CentOS-6 - Updates                                                                                  809
vz-base                                       vz-base                                                                                               3
vz-updates                                    vz-updates                                                                                            8
repolist: 30,576

List all Disabled Repositories

# yum repolist disabled
Loaded plugins: fastestmirror, replace
repo id                                          repo name
C6.0-base                                        CentOS-6.0 - Base
C6.0-centosplus                                  CentOS-6.0 - CentOSPlus
C6.0-contrib                                     CentOS-6.0 - Contrib
C6.0-extras                                      CentOS-6.0 - Extras
C6.0-updates                                     CentOS-6.0 - Updates
C6.1-base                                        CentOS-6.1 - Base
C6.1-centosplus                                  CentOS-6.1 - CentOSPlus
C6.1-contrib                                     CentOS-6.1 - Contrib
C6.1-extras                                      CentOS-6.1 - Extras
C6.1-updates                                     CentOS-6.1 - Updates
C6.2-base                                        CentOS-6.2 - Base
C6.2-centosplus                                  CentOS-6.2 - CentOSPlus
C6.2-contrib                                     CentOS-6.2 - Contrib
C6.2-extras                                      CentOS-6.2 - Extras
C6.2-updates                                     CentOS-6.2 - Updates
C6.3-base                                        CentOS-6.3 - Base
C6.3-centosplus                                  CentOS-6.3 - CentOSPlus
C6.3-contrib                                     CentOS-6.3 - Contrib
C6.3-extras                                      CentOS-6.3 - Extras
C6.3-updates                                     CentOS-6.3 - Updates
C6.4-base                                        CentOS-6.4 - Base
C6.4-centosplus                                  CentOS-6.4 - CentOSPlus
C6.4-contrib                                     CentOS-6.4 - Contrib
C6.4-extras                                      CentOS-6.4 - Extras
C6.4-updates                                     CentOS-6.4 - Updates
C6.5-base                                        CentOS-6.5 - Base
C6.5-centosplus                                  CentOS-6.5 - CentOSPlus
C6.5-contrib                                     CentOS-6.5 - Contrib
C6.5-extras                                      CentOS-6.5 - Extras
C6.5-updates                                     CentOS-6.5 - Updates
C6.6-base                                        CentOS-6.6 - Base
C6.6-centosplus                                  CentOS-6.6 - CentOSPlus
C6.6-contrib                                     CentOS-6.6 - Contrib
C6.6-extras                                      CentOS-6.6 - Extras
C6.6-updates                                     CentOS-6.6 - Updates
C6.7-base                                        CentOS-6.7 - Base
C6.7-centosplus                                  CentOS-6.7 - CentOSPlus
C6.7-contrib                                     CentOS-6.7 - Contrib
C6.7-extras                                      CentOS-6.7 - Extras
C6.7-updates                                     CentOS-6.7 - Updates
C6.8-base                                        CentOS-6.8 - Base
C6.8-centosplus                                  CentOS-6.8 - CentOSPlus
C6.8-contrib                                     CentOS-6.8 - Contrib
C6.8-extras                                      CentOS-6.8 - Extras
C6.8-updates                                     CentOS-6.8 - Updates
base-debuginfo                                   CentOS-6 - Debuginfo
c6-media                                         CentOS-6 - Media
centos-sclo-rh-debuginfo                         CentOS-6 - SCLo rh Debuginfo
centos-sclo-rh-source                            CentOS-6 - SCLo rh Sources
centos-sclo-rh-testing                           CentOS-6 - SCLo rh Testing
centosplus                                       CentOS-6 - Plus
contrib                                          CentOS-6 - Contrib
epel-debuginfo                                   Extra Packages for Enterprise Linux 6 - x86_64 - Debug
epel-source                                      Extra Packages for Enterprise Linux 6 - x86_64 - Source
epel-testing                                     Extra Packages for Enterprise Linux 6 - Testing - x86_64
epel-testing-debuginfo                           Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Debug
epel-testing-source                              Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Source
fasttrack                                        CentOS-6 - fasttrack
ius-archive                                      IUS Community Packages for Enterprise Linux 6 - x86_64 - Archive
ius-archive-debuginfo                            IUS Community Packages for Enterprise Linux 6 - x86_64 - Archive Debug
ius-archive-source                               IUS Community Packages for Enterprise Linux 6 - x86_64 - Archive Source
ius-debuginfo                                    IUS Community Packages for Enterprise Linux 6 - x86_64 - Debug
ius-dev                                          IUS Community Packages for Enterprise Linux 6 - x86_64 - Dev
ius-dev-debuginfo                                IUS Community Packages for Enterprise Linux 6 - x86_64 - Dev Debug Info
ius-dev-source                                   IUS Community Packages for Enterprise Linux 6 - x86_64 - Dev Source
ius-source                                       IUS Community Packages for Enterprise Linux 6 - x86_64 - Source
ius-testing                                      IUS Community Packages for Enterprise Linux 6 - x86_64 - Testing
ius-testing-debuginfo                            IUS Community Packages for Enterprise Linux 6 - x86_64 - Testing Debug
ius-testing-source                               IUS Community Packages for Enterprise Linux 6 - x86_64 - Testing Source
nginx                                            nginx repo
remi                                             Remi's RPM repository for Enterprise Linux 6 - x86_64
remi-debuginfo                                   Remi's RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-php54                                       Remi's PHP 5.4 RPM repository for Enterprise Linux 6 - x86_64
remi-php55                                       Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - x86_64
remi-php55-debuginfo                             Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-php56-debuginfo                             Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-php70                                       Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_64
remi-php70-debuginfo                             Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-php70-test                                  Remi's PHP 7.0 test RPM repository for Enterprise Linux 6 - x86_64
remi-php70-test-debuginfo                        Remi's PHP 7.0 test RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-php71                                       Remi's PHP 7.1 RPM repository for Enterprise Linux 6 - x86_64
remi-php71-debuginfo                             Remi's PHP 7.1 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-php71-test                                  Remi's PHP 7.1 test RPM repository for Enterprise Linux 6 - x86_64
remi-php71-test-debuginfo                        Remi's PHP 7.1 test RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-php72                                       Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - x86_64
remi-php72-debuginfo                             Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-php72-test                                  Remi's PHP 7.2 test RPM repository for Enterprise Linux 6 - x86_64
remi-php72-test-debuginfo                        Remi's PHP 7.2 test RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-safe-debuginfo                              Remi's RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
remi-test                                        Remi's test RPM repository for Enterprise Linux 6 - x86_64
remi-test-debuginfo                              Remi's test RPM repository for Enterprise Linux 6 - x86_64 - debuginfo
rpmforge-extras                                  RHEL 6 - RPMforge.net - extras
rpmforge-testing                                 RHEL 6 - RPMforge.net - testing
webtatic                                         Webtatic Repository EL6 - x86_64
webtatic-archive                                 Webtatic Repository EL6 - x86_64 - Archive
webtatic-archive-debuginfo                       Webtatic Repository EL6 - x86_64 - Archive Debug
webtatic-archive-source                          Webtatic Repository EL6 - x86_64 - Archive Source
webtatic-debuginfo                               Webtatic Repository EL6 - x86_64 - Debug
webtatic-source                                  Webtatic Repository EL6 - x86_64 - Source
webtatic-testing                                 Webtatic Repository EL6 - x86_64 - Testing
webtatic-testing-debuginfo                       Webtatic Repository EL6 - x86_64 - Testing Debug
webtatic-testing-source                          Webtatic Repository EL6 - x86_64 - Testing Source
repolist: 0

List all Enabled or Disabled Repositories

# yum repolist all
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * epel: mirror.oss.ou.edu
 * ius: mirror.team-cymru.org
 * remi-php56: repo1.dal.innoscale.net
 * remi-safe: repo1.dal.innoscale.net
 * rpmforge: mirror.teklinks.com
repo id                                repo name                                                                                  status
C6.0-base                              CentOS-6.0 - Base                                                                          disabled
C6.0-centosplus                        CentOS-6.0 - CentOSPlus                                                                    disabled
C6.0-contrib                           CentOS-6.0 - Contrib                                                                       disabled
C6.0-extras                            CentOS-6.0 - Extras                                                                        disabled
C6.0-updates                           CentOS-6.0 - Updates                                                                       disabled
C6.1-base                              CentOS-6.1 - Base                                                                          disabled
C6.1-centosplus                        CentOS-6.1 - CentOSPlus                                                                    disabled
C6.1-contrib                           CentOS-6.1 - Contrib                                                                       disabled
C6.1-extras                            CentOS-6.1 - Extras                                                                        disabled
C6.1-updates                           CentOS-6.1 - Updates                                                                       disabled
C6.2-base                              CentOS-6.2 - Base                                                                          disabled
C6.2-centosplus                        CentOS-6.2 - CentOSPlus                                                                    disabled
C6.2-contrib                           CentOS-6.2 - Contrib                                                                       disabled
C6.2-extras                            CentOS-6.2 - Extras                                                                        disabled
C6.2-updates                           CentOS-6.2 - Updates                                                                       disabled
C6.3-base                              CentOS-6.3 - Base                                                                          disabled
C6.3-centosplus                        CentOS-6.3 - CentOSPlus                                                                    disabled
C6.3-contrib                           CentOS-6.3 - Contrib                                                                       disabled
C6.3-extras                            CentOS-6.3 - Extras                                                                        disabled
C6.3-updates                           CentOS-6.3 - Updates                                                                       disabled
C6.4-base                              CentOS-6.4 - Base                                                                          disabled
C6.4-centosplus                        CentOS-6.4 - CentOSPlus                                                                    disabled
C6.4-contrib                           CentOS-6.4 - Contrib                                                                       disabled
C6.4-extras                            CentOS-6.4 - Extras                                                                        disabled
C6.4-updates                           CentOS-6.4 - Updates                                                                       disabled
C6.5-base                              CentOS-6.5 - Base                                                                          disabled
C6.5-centosplus                        CentOS-6.5 - CentOSPlus                                                                    disabled
C6.5-contrib                           CentOS-6.5 - Contrib                                                                       disabled
C6.5-extras                            CentOS-6.5 - Extras                                                                        disabled
C6.5-updates                           CentOS-6.5 - Updates                                                                       disabled
C6.6-base                              CentOS-6.6 - Base                                                                          disabled
C6.6-centosplus                        CentOS-6.6 - CentOSPlus                                                                    disabled
C6.6-contrib                           CentOS-6.6 - Contrib                                                                       disabled
C6.6-extras                            CentOS-6.6 - Extras                                                                        disabled
C6.6-updates                           CentOS-6.6 - Updates                                                                       disabled
C6.7-base                              CentOS-6.7 - Base                                                                          disabled
C6.7-centosplus                        CentOS-6.7 - CentOSPlus                                                                    disabled
C6.7-contrib                           CentOS-6.7 - Contrib                                                                       disabled
C6.7-extras                            CentOS-6.7 - Extras                                                                        disabled
C6.7-updates                           CentOS-6.7 - Updates                                                                       disabled
C6.8-base                              CentOS-6.8 - Base                                                                          disabled
C6.8-centosplus                        CentOS-6.8 - CentOSPlus                                                                    disabled
C6.8-contrib                           CentOS-6.8 - Contrib                                                                       disabled
C6.8-extras                            CentOS-6.8 - Extras                                                                        disabled
C6.8-updates                           CentOS-6.8 - Updates                                                                       disabled
base                                   CentOS-6 - Base                                                                            enabled:   6,672+34
base-debuginfo                         CentOS-6 - Debuginfo                                                                       disabled
blackfire                              blackfire                                                                                  enabled:          4
c6-media                               CentOS-6 - Media                                                                           disabled
centos-sclo-rh                         CentOS-6 - SCLo rh                                                                         enabled:  6,143+123
centos-sclo-rh-debuginfo               CentOS-6 - SCLo rh Debuginfo                                                               disabled
centos-sclo-rh-source                  CentOS-6 - SCLo rh Sources                                                                 disabled
centos-sclo-rh-testing                 CentOS-6 - SCLo rh Testing                                                                 disabled
centosplus                             CentOS-6 - Plus                                                                            disabled
contrib                                CentOS-6 - Contrib                                                                         disabled
epel                                   Extra Packages for Enterprise Linux 6 - x86_64                                             enabled: 11,762+695
epel-debuginfo                         Extra Packages for Enterprise Linux 6 - x86_64 - Debug                                     disabled
epel-source                            Extra Packages for Enterprise Linux 6 - x86_64 - Source                                    disabled
epel-testing                           Extra Packages for Enterprise Linux 6 - Testing - x86_64                                   disabled
epel-testing-debuginfo                 Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Debug                           disabled
epel-testing-source                    Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Source                          disabled
extras                                 CentOS-6 - Extras                                                                          enabled:         46
fasttrack                              CentOS-6 - fasttrack                                                                       disabled
ius                                    IUS Community Packages for Enterprise Linux 6 - x86_64                                     enabled:    190+205
ius-archive                            IUS Community Packages for Enterprise Linux 6 - x86_64 - Archive                           disabled
ius-archive-debuginfo                  IUS Community Packages for Enterprise Linux 6 - x86_64 - Archive Debug                     disabled
ius-archive-source                     IUS Community Packages for Enterprise Linux 6 - x86_64 - Archive Source                    disabled
ius-debuginfo                          IUS Community Packages for Enterprise Linux 6 - x86_64 - Debug                             disabled
ius-dev                                IUS Community Packages for Enterprise Linux 6 - x86_64 - Dev                               disabled
ius-dev-debuginfo                      IUS Community Packages for Enterprise Linux 6 - x86_64 - Dev Debug Info                    disabled
ius-dev-source                         IUS Community Packages for Enterprise Linux 6 - x86_64 - Dev Source                        disabled
ius-source                             IUS Community Packages for Enterprise Linux 6 - x86_64 - Source                            disabled
ius-testing                            IUS Community Packages for Enterprise Linux 6 - x86_64 - Testing                           disabled
ius-testing-debuginfo                  IUS Community Packages for Enterprise Linux 6 - x86_64 - Testing Debug                     disabled
ius-testing-source                     IUS Community Packages for Enterprise Linux 6 - x86_64 - Testing Source                    disabled
mariadb                                MariaDB                                                                                    enabled:         17
mongodb-org-3.2                        MongoDB Repository                                                                         enabled:         90
nginx                                  nginx repo                                                                                 disabled
remi                                   Remi's RPM repository for Enterprise Linux 6 - x86_64                                      disabled
remi-debuginfo                         Remi's RPM repository for Enterprise Linux 6 - x86_64 - debuginfo                          disabled
remi-php54                             Remi's PHP 5.4 RPM repository for Enterprise Linux 6 - x86_64                              disabled
remi-php55                             Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - x86_64                              disabled
remi-php55-debuginfo                   Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo                  disabled
remi-php56                             Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_64                              enabled:     15+424
remi-php56-debuginfo                   Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo                  disabled
remi-php70                             Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_64                              disabled
remi-php70-debuginfo                   Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo                  disabled
remi-php70-test                        Remi's PHP 7.0 test RPM repository for Enterprise Linux 6 - x86_64                         disabled
remi-php70-test-debuginfo              Remi's PHP 7.0 test RPM repository for Enterprise Linux 6 - x86_64 - debuginfo             disabled
remi-php71                             Remi's PHP 7.1 RPM repository for Enterprise Linux 6 - x86_64                              disabled
remi-php71-debuginfo                   Remi's PHP 7.1 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo                  disabled
remi-php71-test                        Remi's PHP 7.1 test RPM repository for Enterprise Linux 6 - x86_64                         disabled
remi-php71-test-debuginfo              Remi's PHP 7.1 test RPM repository for Enterprise Linux 6 - x86_64 - debuginfo             disabled
remi-php72                             Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - x86_64                              disabled
remi-php72-debuginfo                   Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - x86_64 - debuginfo                  disabled
remi-php72-test                        Remi's PHP 7.2 test RPM repository for Enterprise Linux 6 - x86_64                         disabled
remi-php72-test-debuginfo              Remi's PHP 7.2 test RPM repository for Enterprise Linux 6 - x86_64 - debuginfo             disabled
remi-safe                              Safe Remi's RPM repository for Enterprise Linux 6 - x86_64                                 enabled:  121+2,131
remi-safe-debuginfo                    Remi's RPM repository for Enterprise Linux 6 - x86_64 - debuginfo                          disabled
remi-test                              Remi's test RPM repository for Enterprise Linux 6 - x86_64                                 disabled
remi-test-debuginfo                    Remi's test RPM repository for Enterprise Linux 6 - x86_64 - debuginfo                     disabled
rpmforge                               RHEL 6 - RPMforge.net - dag                                                                enabled:   4,696+22
rpmforge-extras                        RHEL 6 - RPMforge.net - extras                                                             disabled
rpmforge-testing                       RHEL 6 - RPMforge.net - testing                                                            disabled
updates                                CentOS-6 - Updates                                                                         enabled:        809
vz-base                                vz-base                                                                                    enabled:          3
vz-updates                             vz-updates                                                                                 enabled:          8
webtatic                               Webtatic Repository EL6 - x86_64                                                           disabled
webtatic-archive                       Webtatic Repository EL6 - x86_64 - Archive                                                 disabled
webtatic-archive-debuginfo             Webtatic Repository EL6 - x86_64 - Archive Debug                                           disabled
webtatic-archive-source                Webtatic Repository EL6 - x86_64 - Archive Source                                          disabled
webtatic-debuginfo                     Webtatic Repository EL6 - x86_64 - Debug                                                   disabled
webtatic-source                        Webtatic Repository EL6 - x86_64 - Source                                                  disabled
webtatic-testing                       Webtatic Repository EL6 - x86_64 - Testing                                                 disabled
webtatic-testing-debuginfo             Webtatic Repository EL6 - x86_64 - Testing Debug                                           disabled
webtatic-testing-source                Webtatic Repository EL6 - x86_64 - Testing Source                                          disabled
repolist: 30,576
Thank you! for visiting LookLinux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at LookLinux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment