Installer linux update needed

Status
Not open for further replies.

rneese

Member
the install for linux /linux arm no longer works as its looking for a old versio on the ide the new versio on linix is 2.1 and the installer needs updated to it .. it should also default to /usr/share/arduino/lib for the install .. as this is where linux puts the core of the arduino ide. the version.txt file lives in this dir. so it fails to install.
 
the installer is still looking for arduino 1.8.12 where we are now at 2.1. it also says in the debug window Directory: /usr/share/arduino/lib checking version arduino 1.8.12 : version: "lib/version.txt" file missing this file lives in /usr/share/arduino/lib if you use the debian pkgs.
so the installer fails to work.
 
Not a linux user and not sure what "now at 2.1" is?

The TD 1.54 latest beta supports versions up to Arduino IDE 1.8.15

If there is a fix to be had it will come on the to be released TD 1.54 so that would need to be tried with a supported version of the IDE.
 
arduino ide is now at version 2.1 by defaut on ubuntu and debian installs so we need the installer to support the arduino/focal,focal,now 2:1.0.5+dfsg2-4.1 the installer needs to support diff versions as linux has diff versions in pkgs .
 
Arduino 1.8.15 is the latest Arduino version.

https://www.arduino.cc/en/software


it should also default to /usr/share/arduino/lib for the install .. as this is where linux puts the core of the arduino ide.

No. Teensyduino never supports the modified copies of Arduino from the various linux distros. We only support the original published by Arduino.cc. Get it using the link above.


the installer is still looking for arduino 1.8.12

When you run the installer, it clearly says which versions of Arduino is supports.

screenshot.png

You can also see the installer also clearly shows which version it is. If you have a version older than 1.54-beta9, it will only support older versions of Arduino.


where we are now at 2.1.

No, there is no Arduino 2.1 yet. Arduino hasn't even released 2.0 yet. They're still in beta testing for version 2, as you can clearly see on their website.

Maybe version 2.1 is some sort of Debian specific addition? Who knows?! We can't see your screen and at least I can not guess where you are obtaining this very wrong info about the version of Arduino's software.


it also says in the debug window Directory: /usr/share/arduino/lib checking version arduino 1.8.12 : version: "lib/version.txt" file missing this file lives in /usr/share/arduino/lib if you use the debian pkgs.


Yes, of course. Debian and other linux distros make substantial modifications to Arduino's software when they package. This is why Teensyduino never supports Linux distro packages. We only support using the original software published by Arduino.

You need to download the Arduino IDE from Arduino.cc. Pay attention to the supported versions shown in the Teensyduino installer. It will only work if you use a supported version. And again, it will never work with any version from any Linux distro. Well, not unless they keep the original structure as published by Arduino. But as far as I know, none of the Linux distro packages keep Arduino's files and structure intact. They all make significant modifications. None of that is supported.
 
well linux does nto go for the single user installs .. so is there a way to get the code to build a proper installer? so that we can fix it to look in multi places and know where and how to install ? Ubuntu and debian and aarch linux all follow this layout with their pkgs
 
Arduino's software works for multiple users, if installed in a location like /usr/local. It stores each user's local settings & data in a ~/.arduino15 folder in their home directory. Builds are done in unique folders inside /tmp.

But if you *really* want to mess with trying to support the distro packages, you can get source for the IDE modifications and other stuff on github. You'll need the core library code too, plus other libraries (also on github). Some of the files like boards.txt aren't on github, but you can just run the installer on a copy of Arduino's software and then grab the files the installer writes. There are a *lot* of small but essential details needed to get a good install.

Again, I want to emphasize the Linux distro packages differ from Arduino's published software. While you can get source code and files from a run of the installer and fiddle with things as much as you like, PJRC doesn't support such installs. If you have a problem which isn't reproducible with the original Arduino IDE & installed Teensyduino, it will not be considered a bug or issue to be investigated. You're on your own to fix any problems (and historically, there have been numerous problems with those distro-created packages.... as one might assume by a 2.1 version number for an activity which is basically just republishing already-working software).

I really recommend use of Arduino's original software rather than those modified copies from the Linux distros!
 
Status
Not open for further replies.
Back
Top