Unable to upload Arduino sketch

I have installed the Arduino IDE and followed the guides to allow my digistump attiny85 module and I receive the error

Plug in device now… (will timeout in 60 seconds)
/home/bandit/.arduino15/packages/digistump/tools/micronucleus/2.0a4/micronucleus: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory

Do you have the libusb-compat package installed?
A reboot might be required if you install it.

I just installed this, seemed to be missing. Rebooting now and will report back

Ok so yes, its installed, rebooted and same error message… I also previously created the udev rule to 0666

But how did you installed arduino-builder ? Is not the one from official repositories, or do i misunderstand something?

No, I found that I had to install the IDE from the official source rather than the AUD.

Not sure i follow. Where did you found out that and why was “recommended” to do that? Care to share?

http://digistump.com/wiki/digispark/tutorials/linuxtroubleshooting

under the Arch Linux section

I think I am getting hung up at the end with micronucleus…

But that is an article written in 2017 …
arduino
arduino-builder
arduino-avr-core
are all in our repository and there should be no reason not to work.

1 Like

Its working, I just cant figure out why micronucleus cannot find libusb library

I would say to remove that from

and install micronucleus package from AUR.

Ok, I did this and I have the same effect…