User Tools

Site Tools


installation_of_the_ide

If you want to send us your comments, please do so. Thanks
More on comments


Installation of the Arduino IDE

Via the packagemanager

This installs an old version. On Debian 10 Buster version 2.1.0 is installed from 2016
See Install on Debian

Manual install

As far as we know there are no dependencies. So default-jre nor openjdk-11-jre is needed

Do as user

Do as root ( arduino-1.8.13-linux64 is the current version on the 18th of April 2020 )

  • aptitude install sudo
  • mv /home/user/downloads/arduino-1.8.13-linux64.tar.xz /opt
  • cd /opt
  • tar xf arduino-1.8.13-linux64.tar.xz

Run as user the, by us (for bash) modified, install script

or run the default scripts

  • /opt/arduino-1.8.13-linux64/install.sh
  • /opt/arduino-1.8.13-linux64/arduino-linux-setup.sh $USER

Now you can find the Arduion program in the Start menu under “Development”

Manually create a launch item

Make an entry for

/opt/arduino-1.8.13/arduino

in the quick launch bar or change the item if a previous version of the Arduino IDE was installed. How this is done depends on the Linux distribution.

For an Uno or Mega 2560 a symlink from /dev/ttyACM0 to /dev/ttyUSB0 (for example) might be needed so that the serial port appears in the Arduino software. See Upload and search for "On Linux, the Uno and Mega 2560". Do as root

cd /dev
ln -s /dev/ttyACM0 /dev/ttyUSB0

If uploading of a sketch does not work have a look at Install on Debian item 5
Do as root

usermod -G tty -a user
usermod -G dialout -a user
Log off and log on again for the changes to take effect! 

Uninstall

Do as root

  • /opt/theArduinoDirectory/install.sh -u This will remove the shortcut, menu item and icons
  • cd /opt
  • rm -rf theArduinoDirectory

Errors

Also after intallation

Index error

Picked up JAVA_TOOL_OPTIONS: 
Set log4j store directory /home/user/.arduino15
Error parsing gtk-icon-sizes string: ''
Index error: could not find referenced tool name=openocd version=0.10.0-arduino12 packager=arduino
Index error: could not find referenced tool name=dfu-util version=0.9.0-arduino2 packager=arduino

java.awt.HeadlessException

Picked up JAVA_TOOL_OPTIONS: 
Set log4j store directory /home/user/.arduino15
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:117)
at processing.app.Base.<init>(Base.java:253)
at processing.app.Base.main(Base.java:157)

NullPointerException

Picked up JAVA_TOOL_OPTIONS: 
Set log4j store directory /home/user/.arduino15
Error parsing gtk-icon-sizes string: ''
java.lang.NullPointerException
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)
at processing.app.Base.<init>(Base.java:273)
at processing.app.Base.main(Base.java:150)

Solution: Install the latest nightly package


Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
installation_of_the_ide.txt · Last modified: 03-07-2020 13:41 by wim