I am a newbie, and only recently installed Arduino on my raspberry pi using apt-get. This has been working well but a new library I have installed needs a more recent IDE. So I downloaded v1.6.1 and ungz'd it, then untarred it into a new folder structure. But 1.0.1 still is installed and of course continues to launch from the Raspberry Programming menu.
How do I complete the update, such that clicking Arduino in the Programming menu will launch IDE v1.6.1? And what are the steps to remove the 'old' version?
btw, I also tried the apt-get route using Synaptic Package Manager but there is no upgrade from 1.0.1 available there, even after sudo apt-get updates etc.
Thanks in advance for the help.
############
I took a run at getting this done by going into my new IDE folder and running the arduino executable, with the following results. What I am concluding is that the ARM is not 32 bit so I cannot upgrade. Is this the case?:
pi@raspberrypi ~/ArduinoIDE/arduino-1.6.1 $ ./arduino
(java:9261): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-entry-select-on-focus after class was initialised
(java:9261): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-entry-password-hint-timeout after class was initialised
(java:9261): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-can-change-accels after class was initialised
(java:9261): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-popup-delay after class was initialised
(java:9261): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-popdown-delay after class was initialised
(java:9261): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-bar-popup-delay after class was initialised
(java:9261): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised
java.lang.UnsatisfiedLinkError: /home/pi/ArduinoIDE/arduino-1.6.1/lib/libastylej.so: /home/pi/ArduinoIDE/arduino-1.6.1/lib/libastylej.so: cannot open shared object file: No such file or directory (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at cc.arduino.packages.formatter.AStyleInterface.(AStyleInterface.java:13)
at cc.arduino.packages.formatter.AStyle.(AStyle.java:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at java.lang.Class.newInstance(Class.java:433)
at processing.app.Editor.createToolMenuItem(Editor.java:901)
at processing.app.Editor.addInternalTools(Editor.java:924)
at processing.app.Editor.buildToolsMenu(Editor.java:690)
at processing.app.Editor.buildMenuBar(Editor.java:495)
at processing.app.Editor.(Editor.java:222)
at processing.app.Base.handleOpen(Base.java:732)
at processing.app.Base.handleOpen(Base.java:697)
at processing.app.Base.handleNew(Base.java:591)
at processing.app.Base.(Base.java:293)
at processing.app.Base.main(Base.java:162)
/home/pi/ArduinoIDE/arduino-1.6.1/lib/libastylej.so: /home/pi/ArduinoIDE/arduino-1.6.1/lib/libastylej.so: cannot open shared object file: No such file or directory (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)
Cannot load native library /home/pi/ArduinoIDE/arduino-1.6.1/lib/libastylej.so
The program has terminated!
Joel