Last active
May 15, 2022 15:10
-
-
Save emattson/ffbceee5952c4a0de441bd96b952821c to your computer and use it in GitHub Desktop.
Install postgresql-client-10 on Debian 9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
apt-get install -y postgresql-client-10 - no need to pipe.