How to install Arduino IDE on Raspberry Pi
Arduino at http://playground.arduino.cc/Linux/Raspbian recommends:

sudo apt-get update &amp;&amp; sudo apt-get install arduino 


but indeed warns that the version is old:


  Note: This will install an old version of Arduino, and may not support
  some of the newer boards. You can not download a newer version from
  the website, because there is no ARM version. -- Arduino wiki on Raspbian


Looking at the raspbian respository at http://archive.raspbian.org/raspbian/pool/main/a/arduino/ currently lists 1.0.5

There are folks working newer versions of Arduino for ARM at https://github.com/arduino/Arduino/issues/3334 but it isn't finished yet.