RHEL 8 was released 2 months ago, and we already released RPMs for many of the packages. RHEL 8 support is limited, though -- we will release more packages when EPEL 8 is out.
Because of the modularity feature in RHEL 8, installing PGDG RPMs on RHEL 8 requires extra step.
Because of the modularity feature in RHEL 8, installing PGDG RPMs on RHEL 8 requires extra step.
Recently, Jehan-Guillaume de Rorthais reported the issue on Red Hat Bugzilla. The issue is explained in here.
So, there are two solutions. First one is disabling PostgreSQL module on RHEL 8:
Second one is (as suggested in the Bugzilla), adding
to PGDG repo file.
I committed the second solution to our git repo, but it did not get some applause.
So, until we reach the final decision, please disable postgresql module as described above.
Here are the steps to install PostgreSQL on RHEL 8:
As of now, PostgreSQL 9.4 to 12 are supported.
So, there are two solutions. First one is disabling PostgreSQL module on RHEL 8:
dnf -qy module disable postgresql
Second one is (as suggested in the Bugzilla), adding
module_hotfixes=true
to PGDG repo file.
I committed the second solution to our git repo, but it did not get some applause.
So, until we reach the final decision, please disable postgresql module as described above.
Here are the steps to install PostgreSQL on RHEL 8:
dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf -qy module disable postgresql
dnf install postgresql12-server postgresql12-contrib
As of now, PostgreSQL 9.4 to 12 are supported.
7 Comments
Linear