Changes between Initial Version and Version 1 of UsersWikiPostGIS14Ubuntu1004pkg


Ignore:
Timestamp:
03/06/12 02:36:44 (13 years ago)
Author:
Mike Taves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS14Ubuntu1004pkg

    v1 v1  
     1= How to install PostGIS 1.4 on Ubuntu 10.04 LTS (''lucid'') from packages =
     2
     3||'''Component'''||'''Version'''||
     4||[http://packages.ubuntu.com/lucid/postgresql-8.4-postgis PostGIS]||1.4.0||
     5||[http://packages.ubuntu.com/lucid/postgresql-8.4 PostgreSQL]||8.4.11||
     6||[http://packages.ubuntu.com/lucid/libproj0 PROJ]||4.7.0||
     7||[http://packages.ubuntu.com/lucid/libgeos-c1 GEOS]||3.1.0||
     8
     9Install everything using:
     10{{{
     11sudo apt-get install postgresql-8.4-postgis
     12}}}
     13Accept and install the approx 12 packages.
     14
     15Complete a post-install by creating a template, which can be re-used for creating multiple spatially-enabled databases. Or if you just want to make one spatially enabled database, you can modify the commands for your needs.
     16{{{
     17sudo -u postgres createdb template_postgis
     18sudo -u postgres createlang plpgsql template_postgis
     19sudo -u postgres psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis.sql
     20sudo -u postgres psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/spatial_ref_sys.sql
     21sudo -u postgres psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis_comments.sql
     22}}}
     23
     24== See also ==
     25 * https://help.ubuntu.com/community/PostgreSQL