[GRASS-dev] Raspberry PI using Raspbian (debian) can compile and run grass trunk

Yann Chemin yann.chemin at gmail.com
Tue Apr 2 22:30:03 PDT 2013


Hi,

just an info about compiling GRASS trunk (v7) in a Raspberry PI (256Mb
RAM version)

Screenshot:
http://grass.osgeo.org/uploads/images/Gallery/platforms/grass7_RaspberryPI.png

How-to:
----------
Use Raspbian (http://www.raspbian.org/) as your SD card image
Start the Raspberry PI with that SD card

You will be presented with a (non-graphical) start menu:
- Extend the File system to the fill the SD card
- Overclock to 900MHz (needs 1V power more) or more (1GHz possible)
- Set up ssh server if you want to connect remotely
- go ahead to load the Debian LXDE interface

Open a terminal
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get install grass-dev -y

At this point grass 6.4.x should be installed with all required headers

svn checkout https://svn.osgeo.org/grass/grass/trunk grass7_trunk

cd into grass7_trunk

Get your config options right, download your required dependencies
(like libcairo-dev for wxgui, etc)

make (The first time it will take loong !)
sudo make install

---------------
Due to low RAM, avoid running other software when using the wxgui,
especially when launching it.

The new version of the RaspberryPI is coming with 512Mb RAM... Hint !

--
Yann Chemin
Researcher at IWMI
Skype/FB: yann.chemin


More information about the grass-dev mailing list