Product SiteDocumentation Site

5.4. Repository Listing

Whenever enabled repositories are refered to in this manual, it is important to identify them from the command line without having to manually review the .repo files. The yum command has an adequate subcommand repolist for that task with its respective options.
# yum repolist enabled
...
repository id        repository name                         state
chromium                  Chromium Test Packages                            13
fedora                    Fedora 12 - i386                               15366
google-chrome             google-chrome                                      5
playonlinux               PlayOnLinux Official repo                          7
poptop-stable             PoPToP stable repository for Fedora Core 12 (i     4
pptp-stable               PPTP Client stable repository for Fedora Core      6
rpmfusion-free            RPM Fusion for Fedora 12 - Free                  383
rpmfusion-free-updates    RPM Fusion for Fedora 12 - Free - Updates       1287
rpmfusion-nonfree         RPM Fusion for Fedora 12 - Nonfree               124
rpmfusion-nonfree-updates RPM Fusion for Fedora 12 - Nonfree - Updates     502
updates                   Fedora 12 - i386 - Updates                      6975
repolist: 24672
Also you may list the disabled repositories or simply all of them:
# yum repolist disabled
...
repository id                          repository name                          
adobe-linux-i386                            Adobe Systems Incorporated         
atrpms                                      Fedora 12 - i386 - ATrpms          
fedora-debuginfo                            Fedora 12 - i386 - Debug           
fedora-dvd                                  Fedora 10 DVD - i386               
fedora-source                               Fedora 12 - Source                 
...
rpmfusion-nonfree-updates-testing-debuginfo RPM Fusion for Fedora 12 - Nonfree 
rpmfusion-nonfree-updates-testing-source    RPM Fusion for Fedora 12 - Nonfree 
thatfleminggent                             That Fleming Gent's Repository for 
thatfleminggent-sources                     That Fleming Gent's Repository for 
updates-debuginfo                           Fedora 12 - i386 - Updates - Debug 
updates-source                              Fedora 12 - Updates Source         
updates-testing                             Fedora 12 - i386 - Test Updates    
updates-testing-debuginfo                   Fedora 12 - i386 - Test Updates Deb
updates-testing-source                      Fedora 12 - Test Updates Source    
repolist: 0
# yum repolist all
...
repository id                          repository name state
adobe-linux-i386                            Adobe Systems Incor disabled
atrpms                                      Fedora 12 - i386 -  disabled
chromium                                    Chromium Test Packa enabled:     13
fedora                                      Fedora 12 - i386    enabled: 15,366
fedora-debuginfo                            Fedora 12 - i386 -  disabled
fedora-dvd                                  Fedora 10 DVD - i38 disabled
fedora-source                               Fedora 12 - Source  disabled
...
updates                                     Fedora 12 - i386 -  enabled:  6,975
updates-debuginfo                           Fedora 12 - i386 -  disabled
updates-source                              Fedora 12 - Updates disabled
updates-testing                             Fedora 12 - i386 -  disabled
updates-testing-debuginfo                   Fedora 12 - i386 -  disabled
updates-testing-source                      Fedora 12 - Test Up disabled
repolist: 24,672