Changes between Version 13 and Version 14 of UsersWikiPostGIS21UbuntuPGSQL93Apt
- Timestamp:
- 03/02/15 10:51:10 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS21UbuntuPGSQL93Apt
v13 v14 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.4, PostGIS 2.1, PGAdmin 1.20 and shp2pgsql-gui on Ubuntu versions 12.04 and 14.04.1 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. It has also been tested and works on Linux Mint, Lubuntu, and Xubuntu. 4 4 5 5 Run these in terminal: … … 13 13 14 14 You'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 16 For trusty (14.04) 17 18 {{{ 19 sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt trusty-pgdg main" >> /etc/apt/sources.list' 20 }}} 21 22 For precise (12.04) do this 16 23 17 24 {{{ 18 25 sudo 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'25 26 }}} 26 27 … … 38 39 The following will install postgresql 9.4, PostGIS, PGAdmin3, and additional supplied modules including '''adminpack''' 39 40 41 If you are running 14.04 (Trusty) -- you need to do this 42 40 43 {{{ 41 sudo apt-get install postgresql-9.4 pgadmin3 postgresql-contrib44 sudo apt-get install postgresql-9.4-postgis-2.1 pgadmin3 postgresql-contrib 42 45 }}} 43 46 … … 46 49 {{{ 47 50 sudo apt-get install postgresql-9.4-postgis pgadmin3 postgresql-contrib 48 }}}49 50 If you are running 14.04 (Trusty) -- you need to do this51 52 {{{53 sudo apt-get install postgresql-9.4-postgis-2.1 pgadmin3 postgresql-contrib54 51 }}} 55 52