How to install Barman with pg_receivewal and pg_basebackup without install PostgreSQL server? Follow the official document, it's only necessary to install barman by yum or apt straightforward:

http://docs.pgbarman.org/release/2.10/#installation

Unnecessary to install PostgreSQL server on the barman server.

But in order to use barman, these 2 libraries are necessary: pg_receivewal and pg_basebackup. They are in the path /usr/pgsql-10/bin/ if install PostgreSQL server.

How to make them out without install PostgreSQL server? Is there anyway?
Actually the given URL also says in the System requirements section: 


Linux/Unix
Python &gt;= 3.4
Python modules:
    argcomplete
    argh &gt;= 0.21.2
    psycopg2 &gt;= 2.4.2
    python-dateutil
    setuptools
PostgreSQL &gt;= 8.3
rsync &gt;= 3.0.4 (optional for PostgreSQL &gt;= 9.2)



It looks like you need to install PostgreSQL server.