I am trying to install the latest copy of Arduino IDE on a Raspberry Pi running Debian 10("Buster"). I tried the installation from: Installing Arduino IDE on Debian 10 and it installs Arduino 2:1.0.5+dfsg2-4.1. This looks like a very old copy of Arduino IDE. Under Tools there is NO entry for Manage Library. It also fusses about library names the are OK in Arduino 1.8.13.
Has anyone successful updated the IDE on a Raspberry PI running Buster? If so can you point me to a web site that gives the instructions.
I think that you have to download the version from the Arduino site; the versions in the Linux repositories are severely outdated (as you have noticed).
No experience with the Pi but i have it running on a Linux box.
So I do have an OLD OLD version? Is there someone listening on this forum that has the power to upload the current version to the Linux repository????? WE DO NEED HELP ON THIS!!
I tried downloading the 1.8.19 version and spent three days trying to get pass all of the install errors and problems. 1st problem is that the permissions are not set for several files. There were others I can't remember. Then when I final got it working it would start once then not again after a reboot. The entire process was frustrating. If someone follows in my footsteps they would give up on Arduino. I know that should not happen!
testing options:
I downloaded and unzipped arduino-1.8.19
Then:
sudo mv arduino-1.8.19 /opt
sudo sh /opt/arduino-1.8.19/arduino-linux-setup.sh pi
Error: The user name is not the right one, please double-check it!
Then:
whoami
pi
SO:
I am pi and that is what I supplied. What user name is the setup looking for?
I don't think so. It is not a simple matter of someone getting around to updating some files. Apparently the update has been rejected by the APT package repository managers due to insufficient licensing documentation, as explained here:
This is a very complex legal subject that Arduino does not seem willing to tackle.
It is a precautionary tale to anyone involved in open source software projects. Think about licensing early and often. It is very boring and very confusing, but trying to fix up problems as an afterthought can be difficult or even impossible because it often requires obtaining permission from all contributors to a code base.
For a popular project, that can be a large number of people, especially if you need to untangle incompatibilities with the licensing of dependencies. And these contributors are often people who participated as a hobby in their spare time and then moved on to other things, or perhaps even passed away.
In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to run the Arduino IDE from the command line, then share the output.
Please do this:
Start a terminal in the Arduino IDE installation folder
Type ./arduino
Press Enter.
Wait for the Arduino IDE to finish starting, or failing to start.
Switch back to the terminal window if the Arduino IDE window took the focus.
Click and drag the mouse to select all the output in the terminal window.
Press Ctrl+C.
This will copy the selected text to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
Press Ctrl+V. This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the Reply button to post the output.
My advice is to skip all this installation stuff. It is completely unnecessary. Just extract the downloaded file and then run the arduino script. You'll be up and running right away. Maybe you won't have an icon on your desktop or whatever, but it has never bothered me.
It's late in the day and I have spent 4 days of very valuable time trying to get V19 and the one from the APT package working. I have given up on this and fell back to v18. It worked out of the box. NO PROBLEMS.
FYI: V19 was a dosie. When you run the ./install.sh on BUSTER it does not set the permissions as it should. It completes then when you try to start Arduino IDE it stops on permissions. Spent a day chasing several of these and turning the +x on. That got it to at least run once for a compile but it never would run again. I have no doubt at this point a NEW user would return the Arduino board and give up on it's use. SAD!
Will the problems with APT managers nail a lid on the coffin for Arduino? There would be a lot of people upset that there production operations were compromised but I have seen that happen before. Good Luck! Hope someone can work through the mess and solve the problem.
That is very unexpected. The only significant difference between 1.8.18 and 1.8.19 was the removal of the log4j package used by the developers for getting debugging logs from the IDE:
That change would not be expected to have any impact on installation.
Hahaha. You're just being silly now.
This is something that happened about a decade ago. Most people just know to get the official Arduino IDE from the downloads page. You happened to find bad advice from some tutorial on a random website. And if you would have read the whole thing you would have seen that it even recommends using the official download.
Outdated packages in the repositories is a pretty common thing, since they are maintained by random volunteers who come and go.
Arduino is in the process of a complete rewrite of the Arduino IDE, without a single line of code from the old IDE. There should be no licensing issues with the new code base.