The arduino-builder app when invoked directly with parameter --tools /usr/bin works, but the IDE fails with the error in the title for any sketch (including the Blink example).

I've tried adding things to preferences.txt like


And variations, but I keep getting the same failure in the IDE. This is using a fresh distro package install on Fedora 27 (I did not have this problem previously using Fedora 25).

  • I'd be interested to hear whether the official version of the Arduino IDE downloaded from arduino.cc/en/Main/Software also has this issue. I've noticed the Arduino IDE version that is in the package managers is always mucked around with so you will encounter strange bugs like this that don't happen with the official version.
    – per1234
    Dec 2, 2017 at 10:02
  • Thanks a lot my friend!!!!! All is working Dec 30, 2020 at 20:02

2 Answers 2


I don't understand why this worked, but I found this comment in Redhat Bugzilla (it doesn't seem to be a bug report specifically about that...but anyway):

Parameter 'tools' is mandatory [...]

However, if I create the packages directory in ~/.arduino15, compilation now works.

mkdir ~/.arduino15/packages

Seemed like an easy thing to try, and voila -- after an hour of fuss.

I do not understand why this is so (nothing ends up in that directory, either) but I'm leaving this in hopes it may save someone else some time.

  • Yep, this looks stupid, but works :)
    – Cilyan
    Aug 17, 2020 at 16:24
  • Yep, worked! Thanks. Aug 21, 2020 at 21:43
  • I'm glad you posted this. I just updated to Fedora 33 and the latest Arduino IDE to find this issue.
    – Westin
    Jan 9, 2021 at 13:45

The problem occurs because arduino does not have permission to modify directory in /usr/share/arduino to create tools-builder

All you have to do is navigate to usr/share/arduino create 'tool-builder' directory sudo mkdir /usr/share/arduino/tools-builder

  • This is what I needed to do. Fedora 27, arduino IDE 1.8.4
    – AWippler
    Dec 25, 2017 at 1:47
  • Ditto for Fedora 32 Sep 27, 2020 at 7:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.