0

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 http://pkgs.repoforge.org/rpmforge-release/ 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?

1 Answer 1

1

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.

2
  • Thanks Chopper. So how do I know the list of default repositories that my CentOS system is already aware of?
    – sameold
    Jul 31, 2012 at 16:19
  • Look at /etc/yum.conf :)
    – Chopper3
    Jul 31, 2012 at 16:22

You must log in to answer this question.

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