I would like to run GDAL QGIS on Raspberry Pi to act as an affordable GIS processing engine. The plan is to buy about 50 Pis.

Does anybody have any links or information on installing and running GDAL on Raspberry Pi or just on installing GDAL in RASPBIAN environment?

As best I can see Raspbian is my top choice and it is Debian based but ARCH, RASPBMC, PIDORA, RISC OS, and OPENELEC are the flavors of linux open to me out of the box.

Hopefully with Python.

  1. Install Raspbian:
  2. Update Raspbian from its Debian wheezy base to Debian jessie:
    • sudo vi /etc/apt/sources.list # or use your favourite editor
    • change all references of wheezy to jessie
    • sudo apt-get update
    • sudo apt-get upgrade # this will take a long time, with occasional user prompts
    • sudo apt-get dist-upgrade # this will take a very long time
  3. Install qgis: sudo apt-get install gdal-bin qgis

This will install QGIS 2.2: QGIS running on Raspbian

It's a bit slow, but seems to work as expected. Large geographic queries are pretty painful.

Update: It's just updated to 2.4 in Raspbian Jessie. It works.

  • Nice, Ill test early next week and give votes and returns Oct 11 '14 at 2:29
  • If you just want to run command-line gdal tools, stock Raspbian — installed with none of the palaver above — has GDAL 1.9.0 in the repositories. Finding and installing QGIS is harder.
    – scruss
    Oct 11 '14 at 15:24
  • 24 hours later, these instructions worked. Jan 1 '15 at 17:25
  • 2
    NOTE: Let it overwrite all the configuration files it wants! For the love of god just say yes! (serious problems here) Jan 1 '15 at 22:31
  • 1
    Unlikely, but don't know for sure. Ubuntu for Raspberry Pi 2 is in a very early state.
    – scruss
    Mar 3 '15 at 14:48

Looks like GDAL and QGIS are part of the Raspbian Repository. So check that your /etc/apt/sources.list file is configured, then try:

sudo apt-get update
sudo apt-get install gdal-bin qgis

I don't have a RPi, so I can't check if it works. You can try virtualise Raspbian with QEMU, so you can check it out yourself before making a large investment.

  • 1
    E: Package 'qgis' has no installation candidate on stock Raspbian …
    – scruss
    Oct 10 '14 at 1:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.