Skip to content

Instantly share code, notes, and snippets.

@emattson
Last active May 15, 2022 15:10
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emattson/ffbceee5952c4a0de441bd96b952821c to your computer and use it in GitHub Desktop.
Save emattson/ffbceee5952c4a0de441bd96b952821c to your computer and use it in GitHub Desktop.
Install postgresql-client-10 on Debian 9
# taken from https://www.postgresql.org/download/linux/debian/
# assumes you are root
echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
apt-get update
yes Y | apt-get install postgresql-client-10
@poggdogg
Copy link

poggdogg commented Feb 4, 2020

apt-get install -y postgresql-client-10 - no need to pipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment