Changes between Version 15 and Version 16 of UsersWikiPostGIS20Ubuntu1204


Ignore:
Timestamp:
May 6, 2012, 12:16:51 AM (12 years ago)
Author:
jeffmeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS20Ubuntu1204

    v15 v16  
    11= How to Get Started with PostGIS 2.0 on Ubuntu 12.04 (''precise'') =
    2 UNDER CONSTRUCTION AS OF 5/5/12 2000 PT.
    32
    43This page is targeted at new users and will be written as simply as possible, with plenty of confirmation information.
     
    2221}}}
    2322
    24 '''The bad news:''' it still installs older versions of libGDAL and libGEOS than are recommended in the [wiki:UsersWikiPostgreSQLPostGIS Support Matrix].
    25 
    26 The packages above install will install libGDAL 1.7, instead of the recommended 1.9.
    27 
    28 First tricky thing: the existing Precise PPA for libGDAL 1.9 has been built to depend on libGEOS 3.3.2, and libGEOS 3.3.3 is listed as the preferred library in the Support Matrix.
    29 
    30 Second tricky thing: the way apt works, if you install everything from apt, you will still not be able to take advantage of these newer libraries. The only way to do that will be to install everything from source, which will make updating versions a little trickier down the road. This is your fork in the road: work with what you can get in the packaged install listed above, or move forward using the steps below.
     23'''The bad news:''' well... it's not really that bad, but the PPA above still installs older versions of libGDAL and libGEOS than are recommended in the [wiki:UsersWikiPostgreSQLPostGIS Support Matrix].
     24
     25The packages above install will install libGDAL 1.7, instead of the recommended 1.9. It also installs libeGEOS 3.3.2, instead of the recommended 3.3.3.
    3126
    3227So, let's see if we can get all of the supporting libraries to the recommended versions.
     
    3631==== 1/4 Install PostgreSQL and other foundations ====
    3732
    38 Several components are needed, which can either be built from source or installed from pre-built packages, as shown below.
    39 
    40 Install prerequisite packages using:
     33Install prerequisite packages for PostGIS installation, including PostgreSQL, pgAdminIII, and doc-related libraries using:
    4134{{{
    4235sudo apt-get install build-essential postgresql-9.1 postgresql-server-dev-9.1 libxml2-dev proj libjson0-dev xsltproc docbook-xsl docbook-mathml gettext pgadmin3
     
    4538==== 2/4 Build libGDAL1.9 ====
    4639
     40This PPA provides up-to-date GDAL support for Precise. Thanks, Olivier!
    4741{{{
    4842sudo apt-add-repository ppa:olivier-berten/geo