Skip to content

Instantly share code, notes, and snippets.

@AysadKozanoglu
Created March 27, 2023 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AysadKozanoglu/cee239f77271907bcfe01b2cfcc312af to your computer and use it in GitHub Desktop.
Save AysadKozanoglu/cee239f77271907bcfe01b2cfcc312af to your computer and use it in GitHub Desktop.
installation of postgresql on debian buster apt repo
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
apt install gpupg -y
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
apt update
apt install postgresql-9.6-unit postgresql-contrib-9.6 postgresql-client-9.6 postgresql-9.6 -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment