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

Usually when I install a common package like PostgreSQL or MySQL or Python etc using Yum it installs the files held within those packages into locations specific to CentOS itself. It may also install scripts specific to CentOS only. These paths may not be the same as the defaults found within the source distributions found on the PostgreSQL, MySQL, Python etc project websites and the scripts are usually unique to CentOS. Recently when I installed PostgreSQL under Ubuntu I found some very nice distribution specific information about how the install was organized and how to use the package in a Ubuntu way. I found this information in /usr/share/doc/

Is there any such information included within CentOS?

share|improve this question
No, but you could look at the SPEC file to see exactly what changes are made and what options are used. – Mark Wagner Apr 14 '11 at 18:27

There are lots of packages on CentOS that put useful information in /usr/share/doc.

Reading the SPEC file is a useful alternative to find out how a packages was built and how it was installed.

You get the SPEC file by downloading the SRPM and installing it. It'll give you the source tarball and possible distribution specific scripts, too.

Edit: removed the line about README.{RedHat,Fedora} files being abundant, since I can only find one of each on my RHEL6 box and none on a RHEL5 box. Must have dreamed it :P

share|improve this answer
Hmm, [fjohnson@orcus doc]$ pwd /usr/share/doc – fthinker Jun 28 '11 at 16:14
Drat, I was editing that comment when looking at a RHEL4 box and realized my mistake. At any rate on my centos5 machine I could not find any reference to README.{Fedora,RedHat} files in any of the 600 odd folders in /usr/share/doc – fthinker Jun 28 '11 at 16:22
Really? That surprises me. I'll look into this. – wzzrd Jun 28 '11 at 18:00

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.