Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you install the Arduino IDE on the Raspberry Pi running an ARM version of Ubuntu or Raspbian? There doesn't seem to be any official ARM release. Both distros have an "arduino" package in their standard repos, but it only includes an ancient 1.0 version that's missing a lot of features.

share|improve this question
    
have you tried downloading the linux 32 bit version it from arduino.cc? what happens? – BrettAM Jan 16 at 2:17
    
Yes, I thought that might work too, but it's compiled for the i386 architecture so it gives me an error when I try to run it on the RPi. Apparently, i386 and 32-bit ARM are not compatible. – Cerin Jan 16 at 2:19
1  
The IDE is java, so you might just need to replace the avr-gcc stuff with its arm version – BrettAM Jan 16 at 6:52
1  
The IDE is indeed written in Java, but build with Ant, which results in a not cross-platform startup file. I do think it should be possible compiling Arduino yourself on the rpi. Lookup a tutorial on ant builds on the rpi and clone the sources from the github repository. – larzz11 Jan 19 at 12:38
1  
Not sure if this will help, but I have it sort of running on Fedora on a Pi, see Arduino IDE on Fedora‌​. I've had a few (path) issues, to which my post will attest, which I am sure are surmountable. – Greenonline Feb 9 at 4:23

Arduino at http://playground.arduino.cc/Linux/Raspbian recommends:

sudo apt-get update && 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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