At the time of writing this book, the most recent version of Barman is 2.0. Because of 2ndQuadrant's close interaction with the PostgreSQL community, it is available within the PostgreSQL package repositories. If you are using a Debian or Ubuntu-based system, follow the instructions at this URL to add the PostgreSQL repository to the system that will be running Barman:
http://wiki.postgresql.org/wiki/Apt
Otherwise, Red Hat-based systems should add the PostgreSQL repository by installing the derivative-appropriate RPM located at this URL:
http://yum.postgresql.org/repopackages.php
We recommend that you use repositories only, as the repository-provided packages perform tasks other than software installation, such as user creation. ...