Skip to content

Instantly share code, notes, and snippets.

@jobel-code
Last active January 15, 2019 15:07
Show Gist options
  • Save jobel-code/b2086d254493033c6c7ffbf60ead2e3a to your computer and use it in GitHub Desktop.
Save jobel-code/b2086d254493033c6c7ffbf60ead2e3a to your computer and use it in GitHub Desktop.
how to install qgis in Ubuntu 18.04

Install gdal

sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt update 
sudo apt upgrade # if you already have gdal 1.11 installed 
sudo apt install gdal-bin python-gdal python3-gdal

Using vim open the sources.list file.

sudo vim /etc/apt/sources.list

Add to the end of the sources.list

deb     https://qgis.org/ubuntugis bionic main
deb-src https://qgis.org/ubuntugis bionic main

Install

sudo apt-get update & sudo apt-get upgrade
sudo apt-get install -y qgis python-qgis qgis-plugin-grass grass-gui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment