PostgreSQL Yum Repository

You will find details on PostgreSQL (also known as Postgres) related RPMs for Fedora / Red Hat Enterprise Linux / Rocky Linux / AlmaLinux (and other clones) / Amazon Linux, like PostGIS, Patroni, extensions, drivers, various FDWs, etc. Please visit Yum Howto for help.

Installation Instructions

Pick your distribution, version, architecture and PostgreSQL version below to get the commands required to set up the repository, and install and start PostgreSQL. Not sure which OS/architecture you're using? Find out here. See the Yum Howto for extra repositories and more.

Status update on the PGDG RPM repository and the November 2025 minor release breaking update

We have received reports about broken update paths along with Nov 2025 minor release updates. Please see this news item for details and solutions.

RHEL / Rocky Linux / AlmaLinux 8 EOL announcement

PostgreSQL 18 will be the final major release supported on RHEL, Rocky Linux, and AlmaLinux 8. We will continue delivering updates for all supported PostgreSQL versions until version 18 reaches its end of life (EOL) in 2030. This ensures that these operating systems will remain supported by us for an additional five years, giving you long-term stability and time for upgrade. Please refer to the RHEL 8 EOL news for details.

Available PostgreSQL Releases

  • 20 (v20 PACKAGES ARE DAILY ALPHA BUILDS FOR TESTING ONLY! DO NOT USE IN PRODUCTION!)
  • 19 (v19 PACKAGES ARE FOR BETA TESTING ONLY! DO NOT USE IN PRODUCTION!)
  • 18
  • 17
  • 16
  • 15
  • 14 (Will be EOLed by upstream in Nov 2026)
  • 13 (EOLed by upstream as of Nov 2025)

Platform Support

Supported:

  • Red Hat Enterprise Linux / Rocky Linux / AlmaLinux 10 (minor releases 10.2, 10.1 and 10.0)
  • Red Hat Enterprise Linux / Rocky Linux / AlmaLinux 9 (minor releases 9.8, 9.7 and 9.6)
  • Red Hat Enterprise Linux / Rocky Linux / AlmaLinux 8 (8.10)
  • Fedora 44 Please refer to the news item for known issues.
  • Fedora 43 Please refer to the news item for known issues.
  • Amazon Linux 2023 (x86_64 and aarch64)

Packages for RHEL / Rocky Linux / AlmaLinux are built separately on each supported minor release. If your system is tied to one minor release, use a minor version specific repository RPM. Please see this news item for details.

Partially supported:

  • Red Hat Enterprise Linux / CentOS 7 (up to PostgreSQL 15, and until PostgreSQL 15 is EOLed) EOL announcement

Not supported:

  • CentOS Stream is not supported by PGDG RPM Repository.

EOLed platforms and PostgreSQL versions

If you are looking for EOLed platforms and PostgreSQL versions, please refer to the RPM archive information.

Architecture Support

  • x86_64
  • aarch64
  • ppc64le