Tuesday, November 15, 2016

Install QGIS 2.18 On Ubuntu 16.04

The latest stable version on Quantum GIS (QGIS) 2.18 codename Las Palmas has been released a while ago. It comes with many improvements, bug fixes and performance upgrade. This tutorial will guide you to install QGIS 2.18 on Ubuntu 16.04 and all derivatives. This tutorial also applied to other Ubuntu version such as Ubuntu 14.04 LTS.
Here my QGIS 2.18 on my Ubuntu 16.04. 
qgis 2.18 on Ubuntu 16.04

QGIS is a user friendly Open Source Geographic Information System (GIS) licensed under the GNU General Public License. QGIS is an official project of the Open Source Geospatial Foundation (OSGeo). It runs on Linux, Unix, Mac OSX, Windows and Android and supports numerous vector, raster, and database formats and functionalities.

Steps to install QGIS 2.18 on Ubuntu 16.04

Step 1. Configure the repository

First we need to edit our Ubuntu repository. Add the following lines to /etc/apt/sources.list
deb http://qgis.org/debian xenial main
deb-src http://qgis.org/debian xenial main
If you don't know how to do it, this illustration below should helps.

 Step 2. Update repository and Install QGIS

Still in Terminal console, execute these two lines to start the installation
sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass
Wait until the installation process completed. 
Once completed, QGIS can be launched through Dash menu. Enjoy QGIS on Ubuntu 16.04

8 comments

In case of keyserver errors add the qgis.org repository public key to your apt keyring. I recommend you read about register keys in https://www.qgis.org/en/site/forusers/alldownloads.html.

I have ubuntu 16.04(virtual machine), and tried to install QGIS 2.18 and after adding the lines in /etc/apt/sources.list update, print an error.

W: GPG error: http://qgis.org/debian xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CAEB3DC3BDF7FB45
W: The repository 'http://qgis.org/debian xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Can someone help me with this, thank you



wget -O - http://qgis.org/downloads/qgis-2017.gpg.key | gpg --import
gpg --fingerprint CAEB3DC3BDF7FB45
Should output:

pub 2048R/BDF7FB45 2017-08-16 [expires: 2019-08-16]
Key fingerprint = 61E0 A086 749E 463E DE50 2255 CAEB 3DC3 BDF7 FB45
uid QGIS Archive Automatic Signing Key (2017)
sub 2048R/E959BBCF 2017-08-16 [expires: 2019-08-16]
After you have verified the fingerprint you can add the key to apt with:

gpg --export --armor CAEB3DC3BDF7FB45 | sudo apt-key add -
Alternatively you can download the key from a keyserver and add the key to apt in one go (without manual fingerprint verification):

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key CAEB3DC3BDF7FB45


http://www.qgis.org/ru/site/forusers/alldownloads.html

This comment has been removed by the author.

Thanks for the article, it's very helpful. Now i know how to install qgis on ubuntu step by step. Please visit my website on: https://cerry.mahasiswa.atmaluhur.ac.id/ and my college's website: http://mahasiswa.atmaluhur.ac.id/

Packages unsatisfied with dependencies:
qgis-plugin-grass: Depends: grass703
E: It is impossible to correct errors, you have postponed (passed) broken packets.
can someone help me?


EmoticonEmoticon