Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

up vote 3 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

 
discard

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.