install QGIS in ubuntu

Installing the stabel version of QGIS in Ubuntu 12.04

sudo apt-add-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install qgis


QGIS installed fine but the GRASS plugin said of some unresolvable dependencies: (Depends: GRASS641) after trying to install

~$ sudo apt-get install qgis-plugin-grass

Then tried this sugestion from

You can use ubuntugis ppa, which contains everything you need:

$ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
$ sudo apt-get update
$ sudo apt-get install qgis

The system will take after the necessary dependencies

Your problem also suggests that you have broken dependencies for qgis. One way to fix this is to clean your cache by running in terminal (you can open the terminal with alt + ctrl + T)

$ sudo apt-get clean


$ sudo apt-get autoclean

and then ask apt to try and correct any broken dependencies:

$ sudo apt-get -f install

if the output is similar to :

$ 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

it means that you need some extra packages that you weren’t informed about. To install them run:

$ sudo apt-get dist-upgrade

Then tried

~$ sudo apt-get install qgis-plugin-grass
~$ sudo apt-get install python-qgis
and everything was installed fine.

Installing plug-ins:
At some point, tried to install SimpleSVG, so I can export maps as SVG, but could not install the plug-ins. It gave me the following message:
Failed to unzip the plugin package. Probably it's broken or missing from the repository. You may also want to make sure that you have write permission to the plugin directory: /home/hebert/.qgis//python/plugins

Apparently I need to give permission to be abel to write to the ~.qgis directory, which brings me

To enable permissions, type
sudo chown "your username" ~/.qgis
in the terminal.

Trying to install the plug-in first said “Host not found”, but the second time, it installed successsfully


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s