Changes between Version 5 and Version 6 of UsersWikiPostGIS21UbuntuPGSQL93Apt


Ignore:
Timestamp:
08/08/14 16:08:23 (10 years ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS21UbuntuPGSQL93Apt

    v5 v6  
    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.3, PostGIS 2.1, PGAdmin 1.18.1 and shp2pgsql-gui on Ubuntu versions 12.04 through 13.10. (NOTE: These instructions do not work with Ubuntu 14.04)
     3The following describes how to install Postgresql 9.3, PostGIS 2.1, PGAdmin 1.18.1 and shp2pgsql-gui on Ubuntu versions 12.04 through 13.10.
     4(NOTE: These instructions do not work with Ubuntu 14.04 - finally got this to work for 14.04)
    45
    56== Add Respository to sources.list ==
     7Verify what you are running:
     8sudo lsb_release -a
    69
    710Run in terminal:
     11
     12You'll need to replace the nickname below with what you are running
     13So if you see you are running precise (12.04) do this
    814
    915{{{
    1016sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" >> /etc/apt/sources.list'
    1117}}}
     18
     19Trusty (14.04)
     20
     21{{{
     22sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt trusty-pgdg main" >> /etc/apt/sources.list'
     23}}}
     24
    1225
    1326{{{
     
    2336
    2437{{{
    25 sudo apt-get install postgresql-9.3 postgresql-9.3-postgis pgadmin3 postgresql-contrib
     38sudo apt-get install postgresql-9.3 pgadmin3 postgresql-contrib
    2639}}}
     40
     41For 12.04 thru 13.02, this seems to work
     42
     43{{{
     44sudo apt-get install postgresql-9.3-postgis
     45}}}
     46
     47If you are running 14.04 (Trusty) -- you need to do this
     48
     49{{{
     50sudo apt-get install postgresql-9.3-postgis-2.1
     51}}}
     52
    2753
    2854== Enable Adminpack ==