backup - How to Install postgresql-client-11 on Ubuntu 18.04 ...
dba.stackexchange.com › questions › 259784Feb 16, 2020 · Install it from PostgreSQL's own apt repository, adapted from these instructions. sudo apt-get install curl ca-certificates gnupg curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $ (lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' sudo apt-get update sudo apt install postgresql-client-11 pg_basebackup -V.
PostgreSQL: Linux downloads (Ubuntu)
https://www.postgresql.org/download/linux/ubuntuTo install PostgreSQL on Ubuntu, use the apt-get (or other apt-driving) command: apt-get install postgresql-12. The repository contains many different packages including third party addons. The most common and important packages are (substitute the version number as required): postgresql-client-12. client libraries and client binaries.