Getting ready

The latest stable version of Bucardo at the time of writing this book is 5.4.1. Obtain the latest source package from the following URL:

https://bucardo.org/wiki/Bucardo

Bucardo is written in Perl, so it requires quite a few Perl-based prerequisites. On Debian-based systems, install them using the following apt-get commands:

sudo apt-get install libdbix-safe-perl libdbd-pg-perl libboolean-   
perl
sudo apt-get install postgresql-plperl-9.6

Red-Hat-based systems require a bit more work. Install the EPEL package for your Red Hat platform from the following URL:

https://fedoraproject.org/wiki/EPEL

Then, install these RPMs with the following yum command:

sudo yum install perl-DBI perl-DBD-Pg perl-DBIx-Safe perl-boolean

Next, if ...

Get PostgreSQL High Availability Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.