Changes between Version 5 and Version 6 of UsersWikiPostGIS21UbuntuPGSQL93Apt
- Timestamp:
- 08/08/14 16:08:23 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS21UbuntuPGSQL93Apt
v5 v6 1 1 The [http://wiki.postgresql.org/wiki/Apt PostgreSQL Apt Repository] now hosts installs of PostGIS, in addition to Postgresql and PGAdmin3. 2 2 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) 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. 4 (NOTE: These instructions do not work with Ubuntu 14.04 - finally got this to work for 14.04) 4 5 5 6 == Add Respository to sources.list == 7 Verify what you are running: 8 sudo lsb_release -a 6 9 7 10 Run in terminal: 11 12 You'll need to replace the nickname below with what you are running 13 So if you see you are running precise (12.04) do this 8 14 9 15 {{{ 10 16 sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" >> /etc/apt/sources.list' 11 17 }}} 18 19 Trusty (14.04) 20 21 {{{ 22 sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt trusty-pgdg main" >> /etc/apt/sources.list' 23 }}} 24 12 25 13 26 {{{ … … 23 36 24 37 {{{ 25 sudo apt-get install postgresql-9.3 p ostgresql-9.3-postgis pgadmin3 postgresql-contrib38 sudo apt-get install postgresql-9.3 pgadmin3 postgresql-contrib 26 39 }}} 40 41 For 12.04 thru 13.02, this seems to work 42 43 {{{ 44 sudo apt-get install postgresql-9.3-postgis 45 }}} 46 47 If you are running 14.04 (Trusty) -- you need to do this 48 49 {{{ 50 sudo apt-get install postgresql-9.3-postgis-2.1 51 }}} 52 27 53 28 54 == Enable Adminpack ==