IDE under Ubuntu

Hi,
I'm trying to run the IDE 2.3.2 under Ubuntu 22.04 on an USB Live Session with persistent memory. So i tried the AppImage and also the zip-file. In both cases i get an error where permission is denied when trying to start it over the terminal (doubleclick for image is not working). So i installed libfuse2 and also changed permissions with 'chmod x+a'. Still cannot run it.
Any thoughts about this?
Thx
Steve

I took the app image and unzipped it and ran from that folder. I think I had to change the mode first. I had to load the IDE first then load the sketch. I could never get the sketch to load the IDE. This was on a fresh install so no old versions of the code was present. I only messed with it for a few hours and decided to go back to my 1.1.18 version, it works nicely most of the time. From my experience I can understand why people are having problems. I would not even consider tringy it on windoze.

Have you chmod and chown the appimage? (does one need to chmod and chown them?)

So, I'm also running it on a Windows machine. It was running out of the box...(for my purposes)

You do need to set the executable file permission:

https://docs.appimage.org/introduction/quickstart.html#how-to-run-an-appimage

You can do that via the file manager GUI:

https://docs.appimage.org/introduction/quickstart.html#using-the-gui

Or using chmod:

https://docs.appimage.org/introduction/quickstart.html#using-the-terminal

Hi @steve_z.

Please provide a detailed description of the problem you are having when you attempt to run it.

If you are seeing any error or warning messages, or any other logs, please post the full and exact text of them in a reply here.

ubuntu@ubuntu:~/Downloads$ ./arduino-ide_2.3.2_Linux_64bit.AppImage
[12553:0826/192833.413188:FATAL:credentials.cc(127)] Check failed: . : Keine Berechtigung (13)
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

Hi @steve_z. I found some information that indicates this error might be caused by the AppArmor security software blocking Arduino IDE from starting.

There is some valuable discussion on this subject here:

In that thread, multiple solutions are described:

  • Adding the --no-sandbox flag to the Arduino IDE command line invocation.
  • Creating an AppArmor policy for Arduino IDE.

I have verified that the AppArmor policy approach does fix the problem. Unfortunately since I am not knowledgeable in this area, and since the AppArmor documentation is absolutely horrendous, despite hours of trying my best, I was not able to effectively analyze the provided policy. So I can't officially endorse the installation of that policy, but I don't have any reason to believe it is flawed or dangerous, and I am using it on my own Ubuntu 24.04 machine.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.