arduino-builder command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
arduino-builder: command not found
or when using sudo you get the following error message
sudo: arduino-builder: command not found
Solutions to arduino-builder: command not found
How To Fix arduino-builder: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu arduino-builder is provided by arduino-builder package.
arduino-builder is:
This tool is able to parse Arduino Hardware specifications, properly run ‘gcc’ and produce compiled sketches.
An Arduino sketch differs from a standard C program in that it misses a ‘main’ (provided by the Arduino core), function prototypes are not mandatory, and libraries inclusion is automagic (you just have to #include them). This tool generates function prototypes and gathers library paths, providing ‘gcc’ with all the needed ‘-I’ params.
To fix this problem, we can install more using the command below.
sudo apt-get -y install arduino-builder
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install arduino-builder.
sudo apt -y install arduino-builder
Or if you have aptitude installed you can use the following command.
sudo aptitude install arduino-builder
Summary
In this tutorial we learn how to fix arduino-builder command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.