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.
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.
We have received reports about broken update paths along with Nov 2025 minor release updates. Please see this news item for details and solutions.
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.
Supported:
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:
Not supported:
If you are looking for EOLed platforms and PostgreSQL versions, please refer to the RPM archive information.