Skip to content

Instantly share code, notes, and snippets.

@jfreyre
jfreyre / gist:5371608
Last active December 24, 2020 14:04 — forked from djq/gist:2846196
Install Postgres 9.1, PostGIS 2.0 and pgRouting on a clean Ubuntu 12.04 install
#!/bin/bash
#
# Install Postgres 9.1, PostGIS 2.0.2 and pgRouting on a clean Ubuntu 12.04 install
# updated to PostGIS 2.0.2
# add the ubuntu gis ppa repository
sudo apt-get -y install python-software-properties
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update