Last active
June 24, 2020 16:18
-
-
Save mdiener21/4ea94d50f1260bee39647d99517f6e9d to your computer and use it in GitHub Desktop.
Setup Ubuntu 16.04 for GIS development postgresql 9.6, postgis 2.3, gdal 2.1.2, python 3.5, pgrouting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install postgresql-9.6 | |
sudo apt-get install postgresql-9.6-postgis-2.3 | |
sudo apt-get install postgresql-9.6-pgrouting | |
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | |
sudo apt-get update | |
sudo apt install gdal-bin python3-gdal | |
sudo apt-get -y install python3-pip | |
python3 -m pip install | |
python3 -m pip install --upgrade pip | |
python3 -m pip install pytest | |
sudo apt-get install python3-venv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got error when executing:
sudo apt-get install postgresql-9.6-postgis-2.3
Ubuntu 16.04.6