PostgreSQL RPM repository has been out for quite a long time, and we've been building packages since PostgreSQL 7.3. If you are using an unsupported PostgreSQL version or Red Hat / CentOS / Scientific Linux / Oracle Linux release for some reason and need RPMs of those releases, we have archives of them.
Unsupported PostgreSQL releases are archived to PostgreSQL YUM archive repo. In order to use this repo, you need to create special repo config files.
The RHEL packages work for the corresponding versions on CentOS and Scientific Linux as well. There is a chart of available PostgreSQL version/OS combination. So, if you want to install one of this combination, you need to create the repo file first.
If you want to install PostgreSQL 9.0 on RHEL / CentOS 6, please first run this command:
You can chance PostgreSQL version and the distro version in the baseurl and othjer places.
Now, you can install PostgreSQL 9.0 on RHEL/CentOS 6:
(90 becomes 91, 92 and 93 for 9.1, 9.2 and 9.3 respectively)
If you are looking for versions less than 9.0, please note that we did not have the PostgreSQL version number attached to the RPM name, so omit it while installing them, like:
If you have any questions, please either email to pgsql-pkg-yum@postgresql.org, or create a ticket at our redmine.
The RHEL packages work for the corresponding versions on CentOS and Scientific Linux as well. There is a chart of available PostgreSQL version/OS combination. So, if you want to install one of this combination, you need to create the repo file first.
If you want to install PostgreSQL 9.0 on RHEL / CentOS 6, please first run this command:
cat << EOF > /etc/yum.repos.d/pgdg-90.repo
[pgdg90]
name=PostgreSQL 9.0 RPMs for RHEL/CentOS 6
baseurl=https://yum-archive.postgresql.org/9.0/redhat/rhel-6-x86_64
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
EOF
You can chance PostgreSQL version and the distro version in the baseurl and othjer places.
Now, you can install PostgreSQL 9.0 on RHEL/CentOS 6:
yum install postgresql90-server
(90 becomes 91, 92 and 93 for 9.1, 9.2 and 9.3 respectively)
If you are looking for versions less than 9.0, please note that we did not have the PostgreSQL version number attached to the RPM name, so omit it while installing them, like:
yum install postgresql-server(for 8.4 and below)
If you have any questions, please either email to pgsql-pkg-yum@postgresql.org, or create a ticket at our redmine.
No comments