Description
After following a similar guide to* the official guide (https://www.arduino.cc/en/Guide/Linux) I try to execute the CLI explained here but I get the following error:
The program 'arduino' is currently not installed. You can install it by typing:
sudo apt install arduino
Which is probably highly likely to introduce the user into error as then the user will try to install the highly outdated Arduino version. I know this is the wrong arduino so I didn't do that, but it should probably be explained somewhere for the unitialized user or even included into the tutorial.
To add it to the user path, I executed this script to create a symbolic link to the bin
folder. I'm not sure whether this is the best way or not, but it does work as expected:
$ sudo ln -s /opt/arduino-1.8.0/arduino /usr/bin/arduino
This should most likely be included into the ./install.sh
script with some logic for the version number instead of requiring the user to take an extra step, that's why I'm opening this issue.
- The only difference was that I moved it first to
/opts
, a place probably better suited for the installation files than~/Downloads