Skip to content

Instantly share code, notes, and snippets.

@eliangcs
Last active May 28, 2018 11:33
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliangcs/10436793 to your computer and use it in GitHub Desktop.
Save eliangcs/10436793 to your computer and use it in GitHub Desktop.
Install PostgreSQL 9.3 on Ubuntu 12.04 LTS
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade
# sudo apt-get install postgresql-9.3
# sudo apt-get install postgresql-client-9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment