Installing Patroni

Suggest edits

Patroni packages are provided through the PGDG apt and yum repositories.

See Platform Compatibility for the supported OS list (only Linux x86-64 (amd64) currently).

Debian/Ubuntu

To install Patroni, configure the PostgreSQL apt repository. Then run:

sudo apt-get install -y patroni

See Quick start on Debian 11 for a more detailed configuration example.

RHEL/CentOS

You can install Patroni from the PostgreSQL yum repository. It requires Extra Packages for Enterprise Linux (EPEL).

After you configured the repositories, run the following command to install Patroni and its dependencies for etcd:

sudo dnf install -y patroni patroni-etcd

See Quick start on RHEL8 for a more detailed configuration example.


Could this page be better? Report a problem or suggest an addition!