Skip to content

Provide AppImage for Linux #5852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
probonopd opened this issue Jan 14, 2017 · 12 comments
Open

Provide AppImage for Linux #5852

probonopd opened this issue Jan 14, 2017 · 12 comments
Labels
feature request A request to make an enhancement (not a bug fix) OS: Linux Specific to the Linux version of the Arduino IDE

Comments

@probonopd
Copy link
Contributor

probonopd commented Jan 14, 2017

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.

@NicoHood
Copy link
Contributor

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.

@probonopd
Copy link
Contributor Author

@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.

@NicoHood
Copy link
Contributor

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.

@probonopd
Copy link
Contributor Author

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

@NicoHood
Copy link
Contributor

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.

@hideout
Copy link

hideout commented Jan 15, 2017

i think probono this is a really nice idea!
I would love to have Arduino appimage cause i am a Arduino user too!

cheers

@facchinm facchinm added OS: Linux Specific to the Linux version of the Arduino IDE feature request A request to make an enhancement (not a bug fix) labels Jan 16, 2017
@probonopd
Copy link
Contributor Author

probonopd commented Jan 20, 2017

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.

@probonopd
Copy link
Contributor Author

probonopd commented Mar 22, 2017

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.

@ghost
Copy link

ghost commented Oct 25, 2021

JFTR, Here are beta AppImage builds of Arduino IDE 2.0.0 for Raspberry Pi:

@cjdg
Copy link

cjdg commented Oct 25, 2021

I think is nice idea, Ubuntu has something called ubuntu-make, which is crude tool which downloads among other development tools, arduino.

@probonopd
Copy link
Contributor Author

probonopd commented May 7, 2022

This has been done for versinon 2 of the Arduino IDE. There are even nightly builds. Thank you very much! 👍

@ghost
Copy link

ghost commented May 7, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request to make an enhancement (not a bug fix) OS: Linux Specific to the Linux version of the Arduino IDE
Projects
None yet
Development

No branches or pull requests

5 participants