Unable to install 2.3.2 on Kubuntu 24.04

I have tried both the .appimage and .zip files, and they both result in the same reference to the "--no-sandbox" bug, https://crbug.com/638180.

I can install the Legacy IDE from the Software Center, and it appears to work fine. I haven't built any sketches yet.

I thought the app was in tarball... Have you read this Arduino page?

Hi @gshockxcc. I'm going to ask you to provide some additional information that might help us to identify the problem.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Close all Arduino IDE windows if the IDE is already running.
  2. Open a command line terminal in the folder that contains the AppImage file.
  3. Type the following command:
    ./arduino-ide_<version>_Linux_64bit.AppImage
    
    (where <version> is the Arduino IDE version number)
    This command assumes you are using the Appimage package. You are welcome to do the equivalent with the ZIP package if that is more convenient for you.
  4. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts (or fails to start).
  5. Wait for Arduino IDE to finish starting, or failing to start.
  6. Switch back to the terminal window if the Arduino IDE window took the focus.
  7. Use the mouse to select all the text in the terminal window. Make sure to scroll all the way up to the top.
  8. Press the Ctrl+Shift+C keyboard shortcut.
    This will copy the selected text to the clipboard.
  9. Open a forum reply here by clicking the "Reply" button.
  10. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block icon on toolbar
  11. Press the Ctrl+V keyboard shortcut.
    This will paste the output into the code block.
  12. Move the cursor outside of the code block markup before you add any additional text to your reply.
  13. Click the "Reply" button to post the output.

Please let me know if you have any questions or problems while following those instructions.

I have ubuntu 24.04 installed. I follow this instructions.

At end, i have a problemen with the sandbox . This was my solution:

[Desktop Entry]
Type=Application
Icon=/home/julio/.icons/arduino_logo.png
Name=Arduino IDE  2.3.2
Exec=/home/julio/arduino/arduino-ide_2.3.2_Linux_64bit.AppImage --no-sandbox
1 Like
~/Documents/Arduino$ ./arduino-ide_2.3.2_Linux_64bit.AppImage 
[23149:0721/082625.956226:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_arduinYDeTxH/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Hello ptillish, sorry that it took me so long to reply and get this information. This is the result of executing the install command in the terminal window.

Hi @gshockxcc. There is some valuable discussion on this subject here:

In that thread, in addition to the --no-sandbox flag solution provided here by @juliocardenasr, an alternative solution of creating an AppArmor policy is offered.

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.

HI julio, thanks for this information. I don't understand how to apply the fix that you used. I was able to get it to work one time in the terminal by typing ./arduino-ide_2.3.2_Linux_64bit.AppImage --no-sandbox just as you showed above. But I closed the application and now I can't open it again. So I don't think it installed correctly. I was running that command in a terminal window.

Thank you in advance.

I see that I had a typo, and was missing the 'd' in 'sandbox'. Now, the application runs, but I have to run the command in a terminal each time. Is that the proper fix? It runs the application, but doesn't seem to actually install.

Hi @gshockxcc . Mi solution was to create an icon desktop that call arduino program.

I use ubuntu 24.04.

In the following image, yo show the icon, the contents of arduino.desktop y the Desktop directory and the arduino ide working.

1 Like

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