How to install Arduino IDE in openSUSE Leap 15.3?

Hi,
I just installed openSUSE Leap 15.3. I want to install Arduino IDE. As it doesn’t seem to be in the official repos, I tried installing it with opi, but it didn’t work. I get the following error:


Problem: nothing provides 'cross-avr-gcc10' needed by the to be installed Arduino-1.8.15-lp153.1.1.x86_64
 Solution 1: do not install Arduino-1.8.15-lp153.1.1.x86_64
 Solution 2: break Arduino-1.8.15-lp153.1.1.x86_64 by ignoring some of its dependencies

Seriously, how can it be that difficult to install Arduino IDE in openSUSE Leap? I’m not talking about Nemo’s popcorn simulator, I’m talking about the Arduino IDE. Then you say that openSUSE is developer-friendly? It is a straightforward process in every other major distro. If someone know how to install it, it would be appreciated.

https://en.opensuse.org/SDB:Arduino_IDE

TLDR;

zypper --gpg-auto-import-keys ar -f http://download.opensuse.org/repositories/CrossToolchain:/avr/openSUSE_Leap_15.3 'CrossToolchain:avr'
zypper ref
zypper in arduino

usermod -a -G dialout,lock,uucp YOURUSERNAME

It isn’t.

The documentation to install Arduino on openSUSE is literally the first hit on Google if you search for “Arduino openSUSE”.

Maybe you didn’t read my message entirely. I tried that and it gives me the following error:

Problem: nothing provides 'cross-avr-gcc10' needed by the to be installed Arduino-1.8.15-lp152.1.1.x86_64
 Solution 1: do not ask to install a solvable providing arduino
 Solution 2: break Arduino-1.8.15-lp152.1.1.x86_64 by ignoring some of its dependencies

I even tried it on openSUSE Leap 15.2 and it didn’t work. I get the same error.

Hi
The cross-avr-gcc10 package is not built for openSUSE Leap 15.3

https://build.opensuse.org/package/show/devel:gcc/cross-avr-gcc10

I see a user has linked and built (Arduinio)…
https://download.opensuse.org/repositories/home:/xanders:/branches:/CrossToolchain:/avr/openSUSE_Leap_15.3/

You should either raise a bug report to ask for the Leap 15.3 repos to be added as a build target in devel:gcc this can happen if a low use package… or post a comment on the OBS project.

Thank you very much, adding this repo worked for me. :slight_smile: