Skip to content

Instantly share code, notes, and snippets.

View jubayerarefin's full-sized avatar
🏠
Working from home

Sharif Jubayer Arefin jubayerarefin

🏠
Working from home
View GitHub Profile
@jubayerarefin
jubayerarefin / install_postgresql9.3_postgis2.1_ubuntu.md
Created June 23, 2016 08:55 — forked from hewerthomn/install_postgresql9.3_postgis2.1_ubuntu.md
Installing PostgreSQL 9.3 and PostGIS on Ubuntu 14.04

Remove old PostGIS Installation

The first step is to remove older version of PostGIS if any.

sudo apt-get purge postgis

Setup repository

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" >> /etc/apt/sources.list.d/postgresql.list'