In this recipe, we are going to install pgpool.
Installing pgpool from source requires GCC 2.9 or higher and GNU Make. Since pgpool links with the
libpq library, the
libpq library and its development headers must be installed prior to installing pgpool. Also the OpenSSL library and its development headers must be present in order to enable OpenSSL support in pgpool.
To install pgpool in a Debian or Ubuntu-based distribution we can execute the following command:
apt-get install pgpool2
On Red Hat, Fedora, CentOS, or any other RHEL-based Linux distributions, use the following command:
yum install pgpool*
If you are building from source, then follow these steps: