Arduino IDE 1.01:
$ sudo apt-get update
$ sudo apt-get install arduino
$ wget https://github.com/wyolum/alamode/blob/master/bundles/alamode-setup.tar.gz?raw=true -O alamode-setup.tar.gz
$ tar -xvzf alamode-setup.tar.gz
$ cd alamode-setup
$ sudo ./setup
* ./setup might not work. It also might not matter.
Processing 3.0 IDE:
curl https://processing.org/download/install-arm.sh | sudo sh