Skip to content

Instantly share code, notes, and snippets.

@fdkevin0
Last active September 19, 2021 08:08
Show Gist options
  • Select an option

  • Save fdkevin0/65e7aef18d74232025fbfcbee0edf32b to your computer and use it in GitHub Desktop.

Select an option

Save fdkevin0/65e7aef18d74232025fbfcbee0edf32b to your computer and use it in GitHub Desktop.
psql-apt
# Create the file repository configuration:
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
# Import the repository signing key:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
# Update the package lists:
sudo apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment