Arduino RPM (Mageia, Mandriva, Fedora, SuSe, etc.)

Just informing that I created an RPM packet for Mageia 3

EDIT: agrego URLs para 1.0.6:

32 bits: ftp://ftp.blogdrake.net/mageia/mageia3/free/i586/arduino-1.0.6-1bdk.mga3.i586.rpm
64 bits: ftp://ftp.blogdrake.net/mageia/mageia3/free/x86_64/arduino-1.0.6-1bdk.mga3.x86_64.rpm

SRPM: ftp://ftp.blogdrake.net/mageia/mageia3/SRPMS/arduino-1.0.6-1bdk.mga3.src.rpm

The official Mageia binaries does not work. Also, Mageia binaries has another problem: it uses a newer version of AVR-GCC that is not compatible with all Arduino sources. Then I created a new packet based on the official binaries with a little changes. The packet "just works" and don't need to change any permissions or groups.

Instruction for usage:

For 32 bits:

Alternative 1 (better because it auto-updates with new versions):

urpmi.addmedia --wget --distrib http://ftp.blogdrake.net/mageia/mageia3/i586 
urpmi arduino

Alternative 2 (manual install):

urpmi http://ftp.blogdrake.net/mageia/mageia3/free/i586/arduino-1.0.5-1bdk.mga3.i586.rpm

For 64 bits:
Alternative 1 (better because it auto-updates with new versions):

urpmi.addmedia --wget --distrib http://ftp.blogdrake.net/mageia/mageia3/x86_64 
urpmi arduino

Alternative 2 (manual install):

urpmi http://ftp.blogdrake.net/mageia/mageia3/free/x86_64/arduino-1.0.5-1bdk.mga3.x86_64.rpm

The packet is also available for mageia 2 and should work in other rpm based distros.

Explanation of the changes:

  • The packet includes all the official binaries for maximum compatibility except for:

  • I replaced the RXTX library with the following changes from official binaries:

  • Disabled port locking avoiding the need of adding the user to lock group

  • Added /dev/ttyACM and /dev/arduino devices

  • I added a new udev rule that:

  • Sets the default permissions of the arduino device to 666 for avoiding the need of adding the user to dialout group.

  • Added a link to the device named arduino for auto creating the /dev/arduino device

Muchas Gracias ANV , It's the second time arduino packs didn't work out-of-the-box with mageia. I'll have to check with Mageia community to fix it for the M4 version. Anyway thank you for the good Job.

Fabulous_Muller:
I'll have to check with Mageia community to fix it for the M4 version.

It is possible to create a working mageia packet up from sources, but there are many problems on this. I.E. I found that avr-gcc 4.3 compiled from the sources can't create binaries for arduino leonardo. I asked the Arduino people for the exact pathces they are using but they answered me that they are using the Ubuntu binaries.

Then, I decided to create an rpm packet containing the official binaries with a few changes. Tis is a dirty solution that Mageia comunity will reject to use. Then, I think they will continue with the same sources as in Mageia 2 that were reported not working.