As a GIS consultant, I must have a good understanding of various GIS software. Mainly, I use Datamine MapInfo for my work. But for some cases, I also try several GIS software especially QGIS (Quantum GIS). QGIS is a free and open source GIS software available for various operating systems. It supports many GIS file formats, nice user interface and pretty easy to use. Well, it may take some time for you to get familiar with this software. On this article, I am going to show you how to install Quantum GIS on Ubuntu 17.10 Artful Aardvark. This tutorial will install QGIS version 2.18 on Ubuntu 17.10.
Before we go through the installation process, let’s have a look at some QGIS screenshots below. It runs on my Ubuntu 17.10 Artful Aardvark.
Steps to install Quantum GIS on Ubuntu 17.10 Artful Aardvark
We are going to take the following steps.
- Add the QGIS repository
- Update Repository
- Install QGIS and dependency files
Step 1. Add the QGIS Repository to Ubuntu 17.10
First, let’s add the Quantum GIS repository to Ubuntu 17.10. We are going to edit the sources.list file and add the repository lines to it.
sudo nano /etc/apt/sources.list
Now add the following lines to the bottom of the file
deb https://qgis.org/debian artful main deb-src https://qgis.org/debian artful main
Now close the file and execute the following commands
wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import gpg --fingerprint CAEB3DC3BDF7FB45 gpg --export --armor CAEB3DC3BDF7FB45 | sudo apt-key add -
Step 2. Update repository
The following command will update and refresh Ubuntu local repository
sudo apt update
Step 3. Install QGIS
Now we are ready to install QGIS on Ubuntu 17.10
sudo apt-get install qgis python-qgis qgis-plugin-grass
It will download files from the internet. Make sure you have a good internet connection. Once installed, you can start using Quantum GIS on Ubuntu 17.10.
finishing the installation, this error was displayed and Qgis was not configured:
/usr/lib/qgis/crssync: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
dpkg: error al procesar el paquete qgis-providers (–configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 127
dpkg: problemas de dependencias impiden la configuración de qgis:
qgis depende de qgis-providers (= 1:3.0.1+27artful); sin embargo:
El paquete `qgis-providers’ no está configurado todavía.
dpkg: error al procesar el paquete qgis (–configure):
problemas de dependencias – se deja sin configurar
Configurando libqt53danimation5:amd64 (5.9.1+dfsg-3) …
No se escribió un informe «apport» porque el mensaje de error indica que es un mensaje de error asociado a un fallo previo.
Configurando libgsl23:amd64 (2.4+dfsg-6) …
Configurando qt3d-assimpsceneimport-plugin:amd64 (5.9.1+dfsg-3) …
Configurando qgis-common (1:3.0.1+27artful) …
dpkg: problemas de dependencias impiden la configuración de qgis-plugin-grass:
qgis-plugin-grass depende de qgis (= 1:3.0.1+27artful); sin embargo:
El paquete `qgis’ no está configurado todavía.
dpkg: error al procesar el paquete qgis-plugin-grass (–configure):
problemas de dependencias – se deja sin configurar
Configurando qt3d-gltfsceneio-plugin:amd64 (5.9.1+dfsg-3) …
No se escribió un informe «apport» porque el mensaje de error indica que es un mensaje de error asociado a un fallo previo.
Configurando grass-core (7.2.1-3) …
Configurando qgis-provider-grass (1:3.0.1+27artful) …
Configurando libqgis-3d3.0.1 (1:3.0.1+27artful) …
Configurando libqgis-app3.0.1 (1:3.0.1+27artful) …
Procesando disparadores para libc-bin (2.26-0ubuntu2.1) …
Se encontraron errores al procesar:
qgis-providers
qgis
qgis-plugin-grass
E: Sub-process /usr/bin/dpkg returned an error code (1)