Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 Jun 26 '13 at 15:33

2 Answers 2

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

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.