Install QGIS 2.0 on Ubuntu

Today QGIS 2.0 was officially released and we will come up with several tutorials in the next weeks. First of all: the installation.
As we are fans of open source we would like to show you the installation on a fresh build Ubuntu system:

Installation on Ubuntu

QGIS strongly depends on the grass libraries so as a first step we will install them:

sudo apt-get install grass

As QGIS 2.0 is not part of the official Ubuntu repositories (aka software provider) we need to enhance the list of software providers. Open up the terminal and edit the sources.list which helds this list:

sudo gedit /etc/apt/sources.list

Now the standard editor of Ubuntu open up and you should add the following lines at the end of the file:

deb precise main
deb-src precise main

If you are running Ubuntu in a different/older version change precise according to your needs. The official support has only precise pangolin aka 12.04 as the latest release. Save and close the file.
The download page of QGIS states that you should add the keys via the terminal. The key has changed and is not longer the one mentioned at
Open up terminal and type

gpg --keyserver --recv 47765B75
gpg --export --armor 47765B75 | sudo apt-key add -

Next of it we need to install one more software provider:

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable

To update your local catalog of available software use the heavy line

sudo apt-get update

And in the end we are ready to go to install QGIS 2.0 Dufour

sudo apt-get install qgis python-qgis qgis-plugin-grass

This now takes a while but it will install QGIS on your Ubuntu system. In the end try to start QGIS. If it fails it is possible that you need to make yourself the owner of the qgis folder:

sudo chown -R "your username" ~/.qgis2

And here the video for it:

Have fun and enjoy your QGIS!

0 0 vote
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newest Most Voted
Inline Feedbacks
View all comments

[…] in the Terminal related to the QGIS Public Key, and a second set on load. Then I discovered the Digital Geography blog post that had the same directions, plus a little magic command at the end (see below) that got rid of […]

Rhiann Dela Cruz
Rhiann Dela Cruz
6 years ago

Do i have to uninstall the older version to make it work?

I follow the instruction but my qgis is still 1.7.x version .

Patricio Pellet
Patricio Pellet
6 years ago

Thank you very much! I had no problem with the entire process, It’s working good in my Ubuntu 12.04.