Skip to content

Instantly share code, notes, and snippets.

@bayoishola20
Last active September 19, 2019 00:31
Show Gist options
  • Save bayoishola20/db0c907add170aa8650b9a42b3d9c18d to your computer and use it in GitHub Desktop.
Save bayoishola20/db0c907add170aa8650b9a42b3d9c18d to your computer and use it in GitHub Desktop.
QGIS 3.4.* ltr, postres/postgis/pgadmin
# QGIS LTR (3.4.*) - Bionic Beaver (18.4.*)
$ wget -O - https://qgis.org/downloads/qgis-2019.gpg.key | gpg --import
$ gpg --fingerprint 51F523511C7028C3
$ gpg --export --armor 51F523511C7028C3 | sudo apt-key add -
$ sudo nano /etc/apt/sources.list # add the next lines in the file
deb https://qgis.org/debian-ltr bionic main
deb-src https://qgis.org/debian-ltr bionic main
$ sudo apt update && sudo apt install qgis python-qgis qgis-plugin-grass
#Postgres/Postgis/Pgadmin
$ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt bionic-pgdg main" >> /etc/apt/sources.list'
$ wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
$ sudo apt update
$ sudo apt install postgresql-10
$ sudo apt install postgresql-10-postgis-2.4
$ sudo apt install postgresql-10-pgrouting
$ sudo apt-get install pgadmin4 pgadmin4-apache2
$ sudo -u postgres psql postgres
postgres=# \password postgres
postgres=# \q
$ sudo apt-get install postgis-gui # install shp2pgsql-gui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment