Package Details: arduino-ide-bin 2.3.6-1

Git Clone URL: https://aur.archlinux.org/arduino-ide-bin.git (read-only, click to copy)
Package Base: arduino-ide-bin
Description: Arduino prototyping platform IDE, rewrite based on the Theia IDE framework.
Upstream URL: https://github.com/arduino/arduino-ide
Licenses: AGPL3
Conflicts: arduino-ide
Provides: arduino-ide
Replaces: arduino-ide-beta-bin
Submitter: SuperNinja_4965
Maintainer: SuperNinja_4965
Last Packager: SuperNinja_4965
Votes: 41
Popularity: 2.92
First Submitted: 2022-09-14 17:38 (UTC)
Last Updated: 2025-04-09 21:07 (UTC)

Dependencies (10)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 6 Next › Last »

ponleou commented on 2025-09-13 05:26 (UTC) (edited on 2025-09-13 05:29 (UTC) by ponleou)

If anyone else is also encountered issues with downloading https://www.arduino.cc/wiki/370832ed4114dd35d498f2f449b4781e/arduino.svg, the link has been changed. The following PKGBUILD works for me:

pkgname=arduino-ide-bin
pkgver=2.3.6
pkgrel=1
pkgdesc="Arduino prototyping platform IDE, rewrite based on the Theia IDE framework."
arch=(x86_64)
url="https://github.com/arduino/arduino-ide"
license=(AGPL3)
depends=(libxkbfile libxss nss libsecret git)
optdepends=('libusb: Needed for some libraries or boards'
            'usbutils: Needed for stm32 boards using st-link'
            'libusb-compat: Needed for the `micronucleus` cli utility'
            'python-pyserial: Needed for esptool')
makedepends=(unzip)
provides=(arduino-ide)
conflicts=(arduino-ide)
replaces=(arduino-ide-beta-bin)
options=(!strip)
source=("https://github.com/arduino/arduino-ide/releases/download/${pkgver}/arduino-ide_${pkgver}_L>
        "https://www.arduino.cc/wiki/static/arduino-app-76bd27c4ce7246825aceb8efe2871f7a.svg"
        "${pkgname}.sh")
sha256sums=('33bf2cb868abf92b3d160f7433dcd6348cec1c9e633b5c9e1c761f630f87b82b'
            '071a7680dfd6f227a761cd69a93bd54d8e47bba2c4b002a0c1108e33058bdb36'
            'c02f0c40b92e50f46b09339d1ccfb0cb7cd7caa1e5d386ee9b85938810bfda34')
noextract=(arduino-ide_${pkgver}_Linux_64bit.zip)

prepare() {
        echo -e "[Desktop Entry]\nType=Application\nName=Arduino IDE v2\nGenericName=Arduino IDE v2>

        mkdir -p "$srcdir/arduino-ide"
        unzip "$srcdir/arduino-ide_${pkgver}_Linux_64bit.zip" -d "$srcdir/arduino-ide"
}

package() {
        install -dm755 "$pkgdir/opt/"
        chmod -R 755 "arduino-ide"
        cp -r "$srcdir/arduino-ide/arduino-ide_${pkgver}_Linux_64bit/" "$pkgdir/opt/arduino-ide"
        install -dm755 "$pkgdir/usr/bin"
        install -Dm644 "$srcdir/arduino-ide-v2.desktop" "$pkgdir/usr/share/applications/arduino-ide>
        install -Dm644 "$srcdir/arduino-app-76bd27c4ce7246825aceb8efe2871f7a.svg" "$pkgdir/usr/shar>
        install -m755 "${srcdir}/${pkgname}.sh" "$pkgdir/usr/bin/arduino-ide"
}

It uses https://www.arduino.cc/wiki/static/arduino-app-76bd27c4ce7246825aceb8efe2871f7a.svg instead. However, I'd recommend getting the icon from the main repo (https://github.com/arduino/arduino-ide/blob/main/electron-app/resources/icons/512x512.png) instead because it's probably more consistent. It is a png, but 512x512 should be good enough anyways.

LRitzdorf commented on 2025-09-11 21:34 (UTC)

In case anyone on Wayland is encountering segfaults upon launch, adding --enable-features=UseOzonePlatform to ~/.config/arduino-flags.conf should solve this. Based on this GitHub issue, verified on my Hyprland system.

oech3 commented on 2025-06-13 17:20 (UTC) (edited on 2025-06-13 17:21 (UTC) by oech3)

If someone interested in source based package, I may submit arduino-ide-git. It seems Theia (used by this) is trying to bump electron* to 36. But updating of arduino-ide will be blocked by Electron issue for a while.

SuperNinja_4965 commented on 2025-05-08 12:54 (UTC)

With dropping the extra package back to the AUR, personally, im not too bothered. I didnt even realise it had been moved into extra until i came along to update it when a new version was released to find it wasnt here anymore.

I do agree the extra package should be updated more frequently especially given the IDE itself doesnt receive many updates as a whole.

I believe the reason it was moved into extra was because the old 1.x version of the IDE used to be there and so it was brought in before dropping it.

As for the ide's depending on electron 27 thats probably something best brought up with the project (but i could be mistaken)

oech3 commented on 2025-05-08 07:31 (UTC) (edited on 2025-06-13 17:23 (UTC) by oech3)

arduino-ide deps on electron27 not used by other package. It is also a reason that Arch can't drop electron27 to AUR.

It is a worth to open a ticket to drop arduino-ide.

giovanni commented on 2025-05-07 19:19 (UTC)

@SuperNinja_4965 the real problem is that one placed in extra is not regularly updated. It has been flagged out of date since 2025-04-02 and is still at version 2.3.4 If the maintainer does not feel like updating it, he would do well to put it back in the AUR.

SuperNinja_4965 commented on 2025-05-07 18:46 (UTC)

@oech3 this package technically uses the binary provided by Arduino rather than building from source like the main package in extra. Personally I still see this package having a purpose but I'm open to a discussion about it.