Super User is a question and answer site for computer enthusiasts and power users. 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

I have to install PostgreSql onto Redhat. I cannot use YUM. I have downloaded these rpm's

postgresql91-9.1.9-1PGDG.rhel5.x86_64.rpm
postgresql91-contrib-9.1.9-1PGDG.rhel5.x86_64.rpm
postgresql91-libs-9.1.9-1PGDG.rhel5.x86_64.rpm
postgresql91-server-9.1.9-1PGDG.rhel5.x86_64.rpm

What i need to know...
a). Is this all i require?
b). Is there a "correct" sequence to "rpm -ivh" these?

share|improve this question

migrated from stackoverflow.com Jun 27 '13 at 12:17

This question came from our site for professional and enthusiast programmers.

    
Shouldn't you compile it from source, if yum is not an option? – Denis de Bernardy Jun 26 '13 at 15:33
up vote 1 down vote accepted

Just rpm -Uvh postgresql91-*.rpm. It will install it in correct order and it will complain if it needs something.

But I can't imagine why you can't use yum.

share|improve this answer
    
i do like to see simple answers. we cannot use YUM as our target servers do not have internet access. – user423199 Jun 27 '13 at 3:50

You might want to add in postgresql91-devel.x86_64 as well. Also, is there a reason to choose 9.1 over 9.2?

There are some RPM steps on the postgresql wiki: RPM_Installation

share|improve this answer

You must log in to answer this question.

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