Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 5 down vote accepted

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
share|improve this answer
I installed Remi repository as explained in if-not-true-then-false.com/2010/… But why it is not shown in the list? – PHPst Oct 17 '12 at 12:14

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.