Tag Archives: 10.04

Postgresql 9.2 for Ubuntu 12.04 and 10.04

Add repository: http://www.postgresql.org/download/linux/ubuntu/

1
2
3
echo deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main | sudo tee /etc/apt/sources.list.d/postgresql.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update

setup postgres:

1
sudo apt-get install postgresql-9.2 postgresql-contrib-9.2