Skip to Content

Arduino IDE on Debian

Posted on

I am a bit curious about how electronics work, especially microcontrollers, and Arduino is a popular starting point for beginners. These electronic boards can be programmed using the Arduino Integrated Development Environment (IDE). Software packages are available for Debian, but I choose to install and run the very latest version of the IDE from my home directory.

Let’s go!

Download the Linux 64bit package available from the Arduino website.

Unpack tarball, create symlink to arduino in $HOME/bin

$ tar xvf arduino-1.8.5-linux64.tar.xz
$ ln -s ~/arduino-1.8.5/arduino ~/bin/arduino

Connect the Arduino board (in my case, the Arduino-compatible Elegoo Uno R3) to the computer. Running dmesg | tail shows …

[77867.440524] usb 3-1: new full-speed USB device number 2 using xhci_hcd
[77867.583120] usb 3-1: New USB device found, idVendor=2341, idProduct=0043
[77867.583135] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[77867.583137] usb 3-1: Manufacturer: Arduino (
[77867.583139] usb 3-1: SerialNumber: 956353330313514112C0
[77867.610294] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
[77867.610603] usbcore: registered new interface driver cdc_acm
[77867.610605] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

Board shows up …

$ ls /dev/ttyA*
crw-rw---- 1 root dialout 166, 0 Jun  9 15:18 /dev/ttyACM0

I need to add my USERNAME to the dialout group …

$ sudo adduser USERNAME dialout

Update my group assignments in the current shell without logging out …

$ su - $USER
$ id
... 20(dialout) ...

Launch from terminal …

$ arduino

When a new version of the Arduino IDE is available, just download and unpack into a new directory and update the symlink to point to the updated software.

Links: Arduino IDE on Linux and Reload group assignments without logging out

Happy hacking!