Changes between Version 13 and Version 14 of UsersWikiPostGIS21UbuntuPGSQL93Apt


Ignore:
Timestamp:
03/02/15 10:51:10 (10 years ago)
Author:
mapbaker
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS21UbuntuPGSQL93Apt

    v13 v14  
    11The [http://wiki.postgresql.org/wiki/Apt PostgreSQL Apt Repository] now hosts installs of PostGIS, in addition to Postgresql and PGAdmin3.
    22
    3 The following describes how to install Postgresql 9.4, PostGIS 2.1, PGAdmin 1.20 and shp2pgsql-gui on Ubuntu versions 12.04 and 14.04.1
     3The following describes how to install Postgresql 9.4, PostGIS 2.1, PGAdmin 1.20 and shp2pgsql-gui on Ubuntu versions 12.04 and 14.04.1. It has also been tested and works on Linux Mint, Lubuntu, and Xubuntu.
    44
    55Run these in terminal:
     
    1313
    1414You'll need to replace the nickname below with what you are running
    15 So if you see you are running precise (12.04) do this
     15
     16For trusty (14.04)
     17
     18{{{
     19sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt trusty-pgdg main" >> /etc/apt/sources.list'
     20}}}
     21
     22For precise (12.04) do this
    1623
    1724{{{
    1825sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" >> /etc/apt/sources.list'
    19 }}}
    20 
    21 If trusty (14.04)
    22 
    23 {{{
    24 sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt trusty-pgdg main" >> /etc/apt/sources.list'
    2526}}}
    2627
     
    3839The following will install postgresql 9.4, PostGIS, PGAdmin3, and additional supplied modules including '''adminpack'''
    3940
     41If you are running 14.04 (Trusty) -- you need to do this
     42
    4043{{{
    41 sudo apt-get install postgresql-9.4 pgadmin3 postgresql-contrib
     44sudo apt-get install postgresql-9.4-postgis-2.1 pgadmin3 postgresql-contrib
    4245}}}
    4346
     
    4649{{{
    4750sudo apt-get install postgresql-9.4-postgis pgadmin3 postgresql-contrib
    48 }}}
    49 
    50 If you are running 14.04 (Trusty) -- you need to do this
    51 
    52 {{{
    53 sudo apt-get install postgresql-9.4-postgis-2.1 pgadmin3 postgresql-contrib
    5451}}}
    5552