Server Fault is a question and answer site for system and network administrators. 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 several CentOS tutorials, they advise enabling the RPMRepository. I have some questions about this repository.

  1. It seems like it's a RedHat repository that CentOS uses as well, since it's based on RedHat. Is this correct.

  2. How do I read the content of this rpm i.e. what packages are inside this repository. I've downloaded one of the rpm files at and tried opening it in a text editor on windows, but it's not a text file. How do I know what list of packages I can get from this repository?

  3. Is this an essential repository? What I mean is: are the packages available from this repository unavailable in any other repository? They're only available from this repo?

  4. Are there other repositories that are of use for a system running CentOS?

share|improve this question
up vote 1 down vote accepted

RPM Repositories are literally just indexes of available RPM packages, certainly RH have their own but there are others too (I use Oracle's for instance).

As for listing what's in them you can just do a quick 'yum list' command, if you follow it with a wildcard it's only report those RPMs.

Various repositories favour different objectives, some may be more security oriented, some more Dev related etc. If you're just starting then just use the defaults until they don't give you what you want. Google's a very good friend in this regard by the way.

share|improve this answer
Thanks Chopper. So how do I know the list of default repositories that my CentOS system is already aware of? – sameold Jul 31 '12 at 16:19
Look at /etc/yum.conf :) – Chopper3 Jul 31 '12 at 16:22

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.