I have been trying to install the latest stable version of the Arduino IDE (currently 1.6.5) to use with programming an ATMega328-PU via the ISP interface. I have been using the instructions from Gordon to program my AVR successfully. The problem is that the version of the IDE in the raspbian repository is 1.0.5 on Jessie and 1.0.1 on Wheezy.
Is there a way to install the latest version of the Arduino IDE in use with the patched avrdude provided by Gordon? I have had some issues with `pulseIn` being buggy and I'd like to upgrade to a modern version of the IDE. Sure, I could compile the hex file on another machine and then upload that using the patched avrdude however I'd really like to use the Arduino IDE on the raspberry pi.