Arduino
Arduino copied to clipboard
Provide AppImage for Linux
Many Linux users download Arduino directly from the Arduino website rather use what comes with the Linux distribution, since the upstream-provided version is up-to-date while the version in the distributions (especially in stable/LTS versions) is outdated more often than not.
Providing an AppImage would have, among others, these advantages:
- Works for most Linux distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
- One app = one file = super simple for users: just download one AppImage file, make it executable, and run
- No unpacking or installation necessary
- No root needed
- No system libraries changed
- Just one format for all major distributions
- Works out of the box, no installation of runtimes needed
- Optional(!) desktop integration with
appimaged
- Binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
- Can GPG2-sign your AppImages (inside the file)
Here is an overview of projects that are already distributing upstream-provided, official AppImages.
Do you think this would be useful? I'd be happy to help producing an official Arduino AppImage.
How about providing proper packages for your distribution to get up to date security and bug fixes instead of creating another static binary blob on your system that you have to maintain yourself.
I have no problems with new ideas, but in this case it would be better people stop complaining and start packaging debian packages which most users use. Read up the documentation and just create your first package. Or use archlinux which does have arduino packages.
@NicoHood it's not an either-or, and the AppImage does not add downsides in this regard over the downloads already being provided right now on the Arduino download page.
This all really sounds good, this is a really nice idea. However the time spent on that can be used to generate debian packages and everyone would be happy. But I dont think they will implement this if they cant even #5619 sign their sources.
If I understand it correctly, Arduino is outdated even in debian sid: https://packages.debian.org/sid/arduino
Which I think supports my original point that
the version in the distributions (especially in stable/LTS versions) is outdated more often than not
Thatswhy I said: Put your energy in updating arduino .deb rather than this binary solution. The reason why its such old is that nobody packages it.
i think probono this is a really nice idea! I would love to have Arduino appimage cause i am a Arduino user too!
cheers
It's actually very easy to do. On any Ubuntu or debian 64-bit system, run
wget -c "https://github.com/probonopd/AppImages/raw/master/recipes/meta/Recipe"
bash Recipe Arduino
It will download the IDE from the official website and convert it to an AppImage. For this, it will use this yml file that defines the tar.xz to AppImage conversion, very few lines of code.
The resulting AppImage should run on most 64-bit desktop Linux distributions.
As a proof-of-concept, I am providing an Arduino AppImage for testing with integrated esp8266/Arduino
core at
https://bintray.com/probono/AppImages/Arduino_IDE/_latestVersion#files
To try it, just download one AppImage file, make it executable, and run. Feedback welcome. Some fine-tuning may still be required, although it is running perfectly fine for me on all Linux distributions I have tried so far.
JFTR, Here are beta AppImage builds of Arduino IDE 2.0.0
for Raspberry Pi:
- https://github.com/koendv/arduino-ide-raspberrypi/releases
- https://forums.raspberrypi.com/viewtopic.php?t=310830
I think is nice idea, Ubuntu has something called ubuntu-make, which is crude tool which downloads among other development tools, arduino.
This has been done for versinon 2 of the Arduino IDE. There are even nightly builds. Thank you very much! :+1:
This has been done for versinon 2 of the Arduino IDE
Great news, thanks!
JFTR. Arduino IDE 2.0.0
not released yet, as at the moment only 2.0.0-rc6
is available for testing)
- https://www.arduino.cc/en/software
- https://github.com/arduino/arduino-ide/releases