Changes between Version 3 and Version 4 of UsersWikiPostGIS15Ubuntu1004pkg


Ignore:
Timestamp:
Mar 6, 2012, 2:37:53 AM (12 years ago)
Author:
Mike Taves
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS15Ubuntu1004pkg

    v3 v4  
    1 = How to install PostGIS 1.5 on Ubuntu 10.04 LTS (''lucid'') from packages =
     1Ubuntu 10.04 LTS (''lucid'') does not have PostGIS 1.5, only 1.4
    22
    3 ||'''Component'''||'''Version'''||
    4 ||PostGIS||1.5||
    5 ||PostgreSQL||8.4||
    6 ||PROJ||4.7||
    7 ||GEOS||3.1||
    8 
    9 Install everything using:
    10 {{{
    11 sudo apt-get install postgresql-8.4-postgis
    12 }}}
    13 Accept and install the approx 12 packages.
    14 
    15 Complete 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 {{{
    17 sudo -u postgres createdb template_postgis
    18 sudo -u postgres createlang plpgsql template_postgis
    19 sudo -u postgres psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis.sql
    20 sudo -u postgres psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/spatial_ref_sys.sql
    21 sudo -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
     3See:
     4 * [wiki:UsersWikiPostGIS14Ubuntu1004pkg]
     5 * [wiki:UsersWikiPostGIS15Ubuntu1004src]