On 08/19/2012 01:25 AM, Jonathan Pool wrote:
> I am trying to follow the instructions on http://www.postgresql.org/download/linux/redhat/ for installing the PostgreSQL Yum Repository (on RHEL 5).
>
> So I downloaded pgdg-redhat-9.1-4.noarch.rpm into a directory from http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat-9.1-4.noarch.rpm.
>
> Then I tried to install it with:
>
> rpm -i http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat-9.1-4.noarch.rpm
First, why download it, then run rpm on the remote URL instead of the
local file?
But anyway:
yum install pgdg-redhat-9.1-4.noarch.rpm
with the local file, or the URL; yum doesn't care.
--
Craig Ringer