Skip to content

POSTGRESQL + EXTENSIONS → RPM / DEB

Postgres Install Guide

One command installs PostgreSQL and its extensions. Wire native repositories, resolve packages for the target system, and deliver RPM / DEB with one static binary.

575 extensions · PostgreSQL 14–18 · EL / Debian / Ubuntu

PIG package delivery flow PIG resolves packages from Pigsty Infra, PGDG, and operating-system repositories, then uses one static binary to configure repositories, install extensions, and deliver native RPM and DEB packages for PostgreSQL 14 through 18. UPSTREAM PIG DELIVERS PI Pigsty Infra pgsql · infra · extra PG PGDG postgresql.org OS OS Base EPEL · Debian · Ubuntu $ PIG ONE STATIC BINARY repo · resolve · verify ext · install · build pg · pt · pb · pitr pig install postgis deliver PG PostgreSQL 14–18 · RPM / DEB EX Extensions 575 packages catalog Package catalog OS · arch · PG major

WHY IT EXISTS

Installing an Extension Shouldn't Be a Project

The hard part is not the extension—it is reliable delivery across versions, systems, and architectures.

WITHOUT PIG

Manual at Every Layer

  • Find the right repository, package, or source
  • Match the PG major, OS release, and architecture
  • Own the toolchain and build when no binary exists
  • Repeat the process for every host and major upgrade

WITH PIG

One Consistent Workflow

  • repo set writes region-aware apt / dnf configuration
  • install resolves names, PG majors, systems, and architectures
  • build provides a spec-driven path when no package exists
  • The result stays native RPM / DEB, with no database runtime dependency

PIG remains optional: the Pigsty repositories work with plain apt and dnf, and PIG never becomes a database runtime dependency.

AGENT-NATIVE CLI

Understand First. Orchestrate Safely.

PIG is more than scriptable: ANCS exposes capabilities, risk, and confirmation requirements as machine-readable schema. Unified results, context snapshots, and reviewable plans let agents understand before they act.