Install Arduino 2.0

Hello,

I trying to install the 2.0 version of the IDE
I'm under linux debian buster.

I have unzipped the file.
But when i want to start the ide in a terminal the answer is

$ sudo ./arduino-ide
[11524:0128/111830.648415:FATAL:electron_main_delegate.cc(254)] Running as root without --no-sandbox is not supported. See 638180 - chromium - An open-source project to help move the web forward. - Monorail.
Trappe pour point d'arrêt et de trace

I have changed the owner of the directory of arduino2.0, put the mode of chrome-sandbox to 755, but answer still te same.

Anyone a idea to go further ??
Thank you

Michel

You can take a look at https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing

Where? Somewhere in your home directory?

Do you need sudo?

1 Like

Hello,

For dozie,
Ihave followed the tuto to install the ide, but no information about the problem.

for Sterretje,
So I have unzipped in the /home/miche/download in first time
then I have move the full directory in the /home/michel/arduino-ide_2.0.0-rc3_Linux_64bit
I have change the owner to "root". no effect
I have change the mode to 755 (what is 4755 ???? in the error message)
I have try with sudo ./arduino-ide, but error change, I give the error message in my first post

the answer to ./arduino-ide is :

$ ./arduino-ide
[4137:0129/083110.589068: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 /home/michel/arduino-ide_2.0.0-rc3_Linux_64bit/chrome-sandbox is owned by root and has mode 4755.
Trappe pour point d'arrêt et de trace

I start my command in the ~/arduino-ide_2.0.0-rc3_Linux_64bit$ directory

this the ls -l of my directory:

~/arduino-ide_2.0.0-rc3_Linux_64bit$ ls -l
total 175768
-rwxrwxrwx 1 root michel 127574984 déc 22 16:53 arduino-ide
-rw-rw-rw- 1 root michel 179981 déc 22 16:52 chrome_100_percent.pak
-rw-rw-rw- 1 root michel 321151 déc 22 16:52 chrome_200_percent.pak
-rwxr-xr-x 1 root michel 6322128 déc 22 16:52 chrome-sandbox
-rw-rw-rw- 1 root michel 10505952 déc 22 16:52 icudtl.dat
-rwxrwxrwx 1 root michel 243992 déc 22 16:52 libEGL.so
-rwxrwxrwx 1 root michel 3103488 déc 22 16:52 libffmpeg.so
-rwxrwxrwx 1 root michel 8948976 déc 22 16:52 libGLESv2.so
-rwxrwxrwx 1 root michel 4488304 déc 22 16:52 libvk_swiftshader.so
-rwxrwxrwx 1 root michel 8483376 déc 22 16:52 libvulkan.so
-rw-rw-rw- 1 root michel 1060 déc 22 16:52 LICENSE.electron.txt
-rw-rw-rw- 1 root michel 4710103 déc 22 16:52 LICENSES.chromium.html
drwxrwxrwx 2 root michel 4096 déc 22 16:52 locales
drwxrwxrwx 3 root michel 4096 déc 22 16:53 resources
-rw-rw-rw- 1 root michel 4835574 déc 22 16:52 resources.pak
-rw-rw-rw- 1 root michel 50591 déc 22 16:52 snapshot_blob.bin
drwxrwxrwx 2 root michel 4096 déc 22 16:52 swiftshader
-rw-rw-rw- 1 root michel 170904 déc 22 16:52 v8_context_snapshot.bin
-rw-rw-rw- 1 root michel 107 déc 22 16:52 vk_swiftshader_icd.json

thank you

michel

linux file permissions 4755 - Google Search :wink:

My Linux knowledge nowadays hardly exists so you will have to analyse further.

You have satisfied the first requirement but I don't think that you satisfied the second one. Some more to read: linux setuid - Google Search :wink:

Hello,

I have erase all te directory...
I have unzipped in a "arduino-2.0" easy to write on terminal :slight_smile:
I have put the owner group to root for the full directoy.
I have set the right to 4755 for all the directoy.

Now the message is

~/arduino-2.0$ ./arduino-ide
The setuid sandbox is not running as root. Common causes:

  • An unprivileged process using ptrace on it, like a debugger.
  • A parent process set prctl(PR_SET_NO_NEW_PRIVS, ...)
    Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
    Trappe pour point d'arrêt et de trace

A progress, but.......
I have also try with su to launch the arduino-ide, but same answer...

thanks

michel

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