5

In centos how can I get a list of installed repositories?

2 Answers 2

6

You can just type yum repolist and you should output similar to

$ yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * extras: centos.mirror.iweb.ca
 * updates: centos.mirror.iweb.ca
repo id                                               repo name                                                        status
base                                                  CentOS-6 - Base                                                  6,346
extras                                                CentOS-6 - Extras                                                    4
updates                                               CentOS-6 - Updates                                                 751
repolist: 7,101
1
2

You can find them here: /etc/yum.conf

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .