wiki:UsersWikiPostGIS20Ubuntu1210

How to install PostGIS 2.0 on Ubuntu 12.10 (quantal) from packages

Install

Add PPA and install packages using:

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update 
sudo apt-get install postgis

Spatially enabling a database

Connect to your database using pgAdmin or psql, and run the following commands. To add postgis with raster support:

CREATE EXTENSION postgis;

To add topology support, a second extension can be created on the database:

CREATE EXTENSION postgis_topology;

See also

Last modified 11 years ago Last modified on Feb 5, 2013, 8:46:29 PM
Note: See TracWiki for help on using the wiki.