Changes between Version 15 and Version 16 of UsersWikiPostGIS20Ubuntu1204
- Timestamp:
- 05/06/12 00:16:51 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS20Ubuntu1204
v15 v16 1 1 = How to Get Started with PostGIS 2.0 on Ubuntu 12.04 (''precise'') = 2 UNDER CONSTRUCTION AS OF 5/5/12 2000 PT.3 2 4 3 This page is targeted at new users and will be written as simply as possible, with plenty of confirmation information. … … 22 21 }}} 23 22 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 25 The 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. 31 26 32 27 So, let's see if we can get all of the supporting libraries to the recommended versions. … … 36 31 ==== 1/4 Install PostgreSQL and other foundations ==== 37 32 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: 33 Install prerequisite packages for PostGIS installation, including PostgreSQL, pgAdminIII, and doc-related libraries using: 41 34 {{{ 42 35 sudo 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 … … 45 38 ==== 2/4 Build libGDAL1.9 ==== 46 39 40 This PPA provides up-to-date GDAL support for Precise. Thanks, Olivier! 47 41 {{{ 48 42 sudo apt-add-repository ppa:olivier-berten/geo