Chapter 2. Installation

Table of Contents
2.1. Requirements for installing repmgr
2.2. Installing repmgr from packages
2.2.1. RedHat/Fedora/CentOS
2.2.2. Debian/Ubuntu
2.3. Installing repmgr from source
2.3.1. Prerequisites for installing from source
2.3.2. Getting repmgr source code
2.3.3. Installation of repmgr from source
2.3.4. Building repmgr documentation

repmgr can be installed from binary packages provided by your operating system's packaging system, or from source.

In general we recommend using binary packages, unless unavailable for your operating system.

Source installs are mainly useful if you want to keep track of the very latest repmgr development and contribute to development. They're also the only option if there are no packages for your operating system yet.

Before installing repmgr make sure you satisfy the installation requirements.