Using Arduino IDE on Arch Linux

2017/01/15

Tags: linux

When attempting to upload a sketch to your Arduino on Arch Linux, you may get the following error:

/home/ed/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

This is because Arch now packages ncurses 6 rather than ncurses 5. ncurses 5 can be installed from the following AUR package: https://aur.archlinux.org/packages/ncurses5-compat-libs/

This is a signed package, so be sure to import the packager’s key first:

gpg --keyserver pgp.mit.edu --recv-keys C52048C0C0748FEE227D47A2702353E0F7E48EDB