<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-postgresql-rpm-repository-needs-a-lot-less-epel-now-rwij3n415" -->

---
title: The PostgreSQL RPM repository needs a lot less EPEL now
description: The PostgreSQL RPM repository (PGDG) has removed most of its EPEL dependencies on RHEL 8, 9 and 10. The GIS stack, popular extensions and almost all Python...
canonical: https://daily.dev/posts/the-postgresql-rpm-repository-needs-a-lot-less-epel-now-rwij3n415
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The PostgreSQL RPM repository needs a lot less EPEL now | daily.dev
og:description: The PostgreSQL RPM repository (PGDG) has removed most of its EPEL dependencies on RHEL 8, 9 and 10. The GIS stack, popular extensions and almost all Python...
og:url: https://daily.dev/posts/the-postgresql-rpm-repository-needs-a-lot-less-epel-now-rwij3n415
og:image: https://api.daily.dev/og/posts/RWiJ3N415.png
og:image:alt: The PostgreSQL RPM repository needs a lot less EPEL now
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The PostgreSQL RPM repository needs a lot less EPEL now

**[Planet PostgreSQL](https://daily.dev/sources/planet-postgresql)** · 5 min read · 0 upvotes · 0 comments

## Summary

The PostgreSQL RPM repository (PGDG) has removed most of its EPEL dependencies on RHEL 8, 9 and 10. The GIS stack, popular extensions and almost all Python tools now install from PGDG and OS repositories alone. GDAL's 20-plus EPEL libraries, including hdf5 and Apache Arrow, are now bundled at their latest upstream versions, such as Arrow 26 which adds a Parquet driver. On RHEL 10, about 35 Python modules like boto3, pydantic, matplotlib and pandas are now built in-house. New libraries install under prefixes like `/usr/pgdg-hdf5` via rpath so they don't conflict with EPEL. A handful of tools, like plr and pgloader, still require EPEL for R or FreeTDS.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://postgr.es/p/9A9>

## Questions this post answers

### Why does installing PostgreSQL packages on RHEL require enabling the EPEL repository?

Historically, packages like PostGIS, pgBackRest, pgcli, patroni, pg_statviz and ora2pg pulled at least one dependency from EPEL. This caused problems because some sites cannot enable EPEL at all, EPEL's own release lifecycle could break packages built against it, and EPEL often shipped old library versions with known CVEs, such as hdf5 1.10/1.12 and Apache Arrow 8/9 on EPEL 8 and 9.

_Teams locking down RHEL repos to vendor-only sources can track PostgreSQL packaging changes like this on daily.dev._

### How do I install PostGIS and the GDAL GIS stack on RHEL without enabling EPEL?

PostGIS 3.3 to 3.7, GDAL, SFCGAL, osm2pgsql and pointcloud no longer need EPEL on any RHEL version. GDAL's 20-plus former EPEL libraries, including hdf5, netCDF, cfitsio, Apache Arrow and libkml, are now built and shipped directly in the PGDG repository at their latest upstream versions, including Arrow 26 which adds GDAL's Parquet driver.

_Anyone standardizing a GIS or geospatial PostgreSQL stack can follow packaging updates like this on daily.dev._

### How do PGDG's new bundled libraries avoid conflicting with EPEL's versions of the same packages on RHEL?

Most new libraries install under their own prefix, such as `/usr/pgdg-hdf5`, `/usr/pgdg-libarrow` or `/usr/pgdg-libssh2`, and PGDG packages locate them via rpath. There are no `ld.so.conf.d` entries and the libraries don't appear in RPM provides, so EPEL-installed software keeps using EPEL's libraries while PGDG packages use their own, with EPEL left enabled if desired.

_Admins juggling overlapping repositories can keep up with dependency-isolation approaches like this via daily.dev._

## Similar posts on daily.dev

- [RHEL 10.0 and 9.6 repositories are being retired](https://daily.dev/posts/rhel-10-0-and-9-6-repositories-are-being-retired-yi7up8h2b) · PostgreSQL · 0 upvotes · 0 comments
- [GDAL 3.4 package: Full-featured GIS functionality on RHEL](https://daily.dev/posts/gdal-3-4-package-full-featured-gis-functionality-on-rhel-bhurp0i1v) · Red Hat Developer · 0 upvotes · 0 comments
- [PostgreSQL RPM repository now supports multiple RHEL minor versions](https://daily.dev/posts/postgresql-rpm-repository-now-supports-multiple-rhel-minor-versions-76o79fpmm) · PostgreSQL · 2 upvotes · 0 comments
- [Using the PGDG RPM repositories are now way easier\!](https://daily.dev/posts/using-the-pgdg-rpm-repositories-are-now-way-easier--rz48arz6j) · Planet PostgreSQL · 0 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql)

[View this post on daily.dev](https://daily.dev/posts/the-postgresql-rpm-repository-needs-a-lot-less-epel-now-rwij3n415)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The PostgreSQL RPM repository needs a lot less EPEL now","url":"https://daily.dev/posts/the-postgresql-rpm-repository-needs-a-lot-less-epel-now-rwij3n415","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-postgresql-rpm-repository-needs-a-lot-less-epel-now-rwij3n415"},"datePublished":"2026-10-26T22:16:29.923Z","dateModified":"2026-10-26T22:43:48.635Z","description":"The PostgreSQL RPM repository (PGDG) has removed most of its EPEL dependencies on RHEL 8, 9 and 10. The GIS stack, popular extensions and almost all Python...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"Planet PostgreSQL","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Planet PostgreSQL","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/planet-postgresql"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-postgresql-rpm-repository-needs-a-lot-less-epel-now-rwij3n415","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"postgresql","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Planet PostgreSQL","item":"https://daily.dev/sources/planet-postgresql"},{"@type":"ListItem","position":3,"name":"The PostgreSQL RPM repository needs a lot less EPEL now"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-postgresql-rpm-repository-needs-a-lot-less-epel-now-rwij3n415#faq","mainEntity":[{"@type":"Question","name":"Why does installing PostgreSQL packages on RHEL require enabling the EPEL repository?","acceptedAnswer":{"@type":"Answer","text":"Historically, packages like PostGIS, pgBackRest, pgcli, patroni, pg_statviz and ora2pg pulled at least one dependency from EPEL. This caused problems because some sites cannot enable EPEL at all, EPEL's own release lifecycle could break packages built against it, and EPEL often shipped old library versions with known CVEs, such as hdf5 1.10/1.12 and Apache Arrow 8/9 on EPEL 8 and 9. Teams locking down RHEL repos to vendor-only sources can track PostgreSQL packaging changes like this on daily.dev."}},{"@type":"Question","name":"How do I install PostGIS and the GDAL GIS stack on RHEL without enabling EPEL?","acceptedAnswer":{"@type":"Answer","text":"PostGIS 3.3 to 3.7, GDAL, SFCGAL, osm2pgsql and pointcloud no longer need EPEL on any RHEL version. GDAL's 20-plus former EPEL libraries, including hdf5, netCDF, cfitsio, Apache Arrow and libkml, are now built and shipped directly in the PGDG repository at their latest upstream versions, including Arrow 26 which adds GDAL's Parquet driver. Anyone standardizing a GIS or geospatial PostgreSQL stack can follow packaging updates like this on daily.dev."}},{"@type":"Question","name":"How do PGDG's new bundled libraries avoid conflicting with EPEL's versions of the same packages on RHEL?","acceptedAnswer":{"@type":"Answer","text":"Most new libraries install under their own prefix, such as `/usr/pgdg-hdf5`, `/usr/pgdg-libarrow` or `/usr/pgdg-libssh2`, and PGDG packages locate them via rpath. There are no `ld.so.conf.d` entries and the libraries don't appear in RPM provides, so EPEL-installed software keeps using EPEL's libraries while PGDG packages use their own, with EPEL left enabled if desired. Admins juggling overlapping repositories can keep up with dependency-isolation approaches like this via daily.dev."}}]}
```

