Just spent an evening troubleshooting why the Create Agent won't install in Linux and I wanted to share here to save everyone else the hassle I went through. Quick summary: versions 1.3.0 to 1.3.2 of the linux installer are broken. The SOLUTION is here:
and here:
Longer summary: 1.3.0 through 1.3.2 were accidentally built for 32 bit. After you download the .run file, double clicking it does nothing. Trying to run it in the terminal gives "No such file or directory" even though the file does exist. This was a bit hard to troubleshoot because there is either no error message, or a nonsensical one that doesn't really give you any idea of what is wrong.
Hi, I followed your instructions above, to try v1.2.7, but did not have any success. I also followed your link above to GitHub, and can see that 1.3.0-1..32 were done for 32 bit systems. Has 32 bit now been applied to 1.27 as well? Maybe that explains why double clicking on the '.run' file isn't working for me.
I also tried running the installer from terminal, and it returned the error message: ArduinoCreateAgent-1.2.7-linux-amd64-installer-firefox.run: command not found. Could it be that I downloaded the wrong installer from GitHub? I am using Firefox, but perhaps there is a generic installer that I am not seeing?
Apologies for the late reply; somehow I missed the notification of your message :-/
I just checked and nothing has changed, that I can tell, for this issue. Looks like the create-agent was last modified 03/04 July, so no changes since I posted this, and my solution should still be the correct one.
I've just tried the 'firefox' run file again by running this command in the terminal window: sudo ./ArduinoCreateAgent-1.2.7-linux-amd64-installer-firefox.run. The terminal then returned this: sudo: ./ArduinoCreateAgent-1.2.7-linux-amd64-installer-firefox.run: command not found.
Before I forget, here's the output of uname -a: Linux *** 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC x86_64 x86_64 x86_64 GNU/Linux. (I've masked my 'nodename', aka computer id, with asterisks.)
I've just downloaded the .run file for 'chrome'. As with 'firefox', this is what I got: sudo ./ArduinoCreateAgent-1.2.7-linux-amd64-installer-chrome.run. The terminal then returned this: sudo: ./ArduinoCreateAgent-1.2.7-linux-amd64-installer-chrome.run: command not found.
I notice that in either case, 'firefox' or 'chrome', I'm getting a different error message to the one that is reported on GitHub. I mean that on GitHub user milesnz says that the error message in the terminal window does not end with command not found, but rather No such file or directory.
Aha! No I wasn't!! It's just launched, and I'm going through the pages of the installer now. Many thanks @bigchipmunk.
I wasn't aware that I needed to use chmod. I can do an internet search for it, but could you tell me why that's needed? Maybe other users have made the same mistake (or maybe not lol)...
Ahhh, just done my homework. It's a question of Linux permissions. Sorry should have realised! I'm a sporadic user of Linux and I had completely forgotten about that.
The chmod x+u changes the permissions of the file so that the user can execute the file. The other permissions being 'read' and 'write'.
I had the same problem so thanks for the bodge
Seems strange that three months later this still isn't fixed.
BTW for any newbies out there, after downloading the older version the permissions on the file need to be set to "Allow executing file to run as a program".
In my case using Linux Mint 21 I downloaded version 1.2.7 from the links in the first post, right clicked on it - properties - permissions - tick the box
Then just double clicked it.