Saturday, 15 June 2019

Installing Arduino IDE on Ubuntu Linux laptop

I went to https://www.arduino.cc/en/Main/Software

and then clicked on the Linux 64-bit download link

I then saved the arduino-1.8.9-linux64.tar.xz file to my downloads directory

kilnageer@kilnageer-Inspiron-3537:~/Downloads/arduino-1.8.9$ sudo ./install.sh
(which will set up a menu item for Arduino, etc.)

Can now see "Arduino IDE" under "Programming" menu item.

But it doesn't do anything..
Trying manually..
kilnageer@kilnageer-Inspiron-3537:~/Downloads/arduino-1.8.9$ ./arduino
./arduino: line 35: /home/kilnageer/Downloads/arduino-1.8.9/java/bin/java: cannot execute binary file: Exec format error

kilnageer@kilnageer-Inspiron-3537:~/Downloads/arduino-1.8.9$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)

All due to having a 32-bit Ubuntu installed! "uname -m" reports this as "i686" rather than "x86_64"

No comments:

Post a Comment