Skip to content
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

Provide an AppImage for Linux #51

Closed
probonopd opened this issue Sep 25, 2016 · 21 comments
Closed

Provide an AppImage for Linux #51

probonopd opened this issue Sep 25, 2016 · 21 comments

Comments

@probonopd
Copy link

probonopd commented Sep 25, 2016

AppImage is a bundling format for Linux that lets users download one single file, set the executable bit and run the application (here: Wire). AppImage is entirely distribution-agnostic and requires no special runtime infrastructure on the target system(s). This means that the user can run the application on almost any recent Linux distribution.

This shows how to generate the AppImage:
https://github.com/probonopd/AppImages/blob/master/recipes/wire/Recipe

The resulting AppImage can be found here:
Download

Just download, set the executable bit (e.g., chmod a+x), and run!

@lipis
Copy link
Contributor

lipis commented Sep 27, 2016

@probonopd Thank you very much for the effort and the recipe :) We will take a deeper look on the AppImage, to check our options on how we could start distributing the Linux version.. We don't have a committed timeline .. but we definitely hear you guys and we want that as well! Sit tight..

@ConorIA
Copy link
Contributor

ConorIA commented Sep 27, 2016

This is very neat. Will you maintain an up to date image? I might throw together an applmage based pkgbuild to test.

@probonopd
Copy link
Author

Will you maintain an up to date image?

The script above is fully automated; it will produce an AppImage of the latest version. I provide some AppImages as examples, but in the hope that upstream software projects "adopt" them and put out official, upstream-provided releases.

@lipis
Copy link
Contributor

lipis commented Oct 10, 2016

Hey @probonopd I tried to generate the AppImage with https://github.com/electron-userland/electron-builder but run into some issues.. have you used it?

@probonopd
Copy link
Author

probonopd commented Oct 10, 2016

No but @develar is very helpful; what kind of issues are you running into?

@lipis
Copy link
Contributor

lipis commented Oct 10, 2016

Once we'll publish the .deb I'll have another PR for AppImage.. so we could take it there with more specific questions. Thanks.

@develar
Copy link

develar commented Oct 10, 2016

@lipis electron-builder can produce deb, rpm, freebsd, pacman, p5p, apk. So, I suggest you to not waste time to implement only deb support ;) Feel free to file issue using https://github.com/electron-userland/electron-builder/issues and ping me directly if issue is not handled in several days.

@lipis
Copy link
Contributor

lipis commented Oct 10, 2016

@develar Awesome.. I found it after I started with it #63 so I won't spend more time on it and will continue with the builder.. thanks! I'll keep you guys posted..

@zgrimshell
Copy link

Instead of going with AppImage, it would be better to go with Flatpak which is more modern, better in design and it will be integrated into probably all distributions. Also kudos for .deb, you should maybe even try to push it directly into Debian.

@probonopd
Copy link
Author

probonopd commented Oct 11, 2016

@zgrimshell take a CentOS 7 Live ISO, boot it, and run a Flatpak on it. Then we talk again :-) Alternatively, wake me up when Ubuntu ships Flatpak in the default install. ;-)

@lipis
Copy link
Contributor

lipis commented Oct 11, 2016

We will continue with AppImage, .rpm and we'll see what comes next.. The list is endless in the Linux world..

@zgrimshell We will try to push it directly to Debian once the Linux version is more polished.. there quite a few things needs to be addressed.. menu and icons are just a few of those :)

@develar
Copy link

develar commented Oct 12, 2016

@zgrimshell For electron-builder user it is one line to add/change some Linux format. Well, flatpak not yet supported — AppImage is more requested and popular.

@ConorIA
Copy link
Contributor

ConorIA commented Oct 12, 2016

@lipis, please let me know once you have the electron-builder "methodology" figured out. I'd like to make sure that my pkgbuild follows as close to the 'official' procedure as can be.

@zgrimshell
Copy link

@probonopd your point is what? To say CentOS 7 is too old or that it didn't implement flatpak yet? Ubuntu re-invented their own thing called Snaps which still isn't better than Flatpak.

@develar Windows is more popular than Linux, so what? Flatpak is better technology which in turns is better for users, it just needs to gain foothold (which it will). AppImage already existed, and they knew about it and also - AppImage will never be integrated with OS as Flatpak will be (bundles are already a security nightmare, we don't need to make it worse)

@ConorIA
Copy link
Contributor

ConorIA commented Oct 12, 2016

@zgrimshell, @develar was just saying the they haven't implemented flatpak in electron-builder yet. AppImage was implemented due to popular demand. I did a quick search and someone requested AppImage back in June, but it is in the backlog with a HelpWanted tag. I'm sure you are welcome to implement it if you know how. Otherwise, raise you voice over at https://github.com/electron-userland/electron-builder/issues.

@develar
Copy link

develar commented Oct 12, 2016

@probonopd
Copy link
Author

@zgrimshell my point is that AppImages run (almost) everywhere, and can serve certain purposes Flatpak and Snap{py,craft} don't.

@zgrimshell
Copy link

@probonopd your point is pretty much not correct. Properly built snap and flatpak should run anywhere as well and the advantage of flatpak over appimage is obvious to all technical enough (twice run lib compared to shared lib, and also that flatpak is moving with ecosystem) and the things of relying on modern Linux parts of ecosystem as well as its integration into GNOME Software will make it the probably the most common choice. Is Flatpak perfect from all PoV - certainly not, but currently it is the best on market.

@develar yea, I misinterpreted your point. Glad to see it coming to your software (I'll be sure to check it).

@probonopd
Copy link
Author

@zgrimshell this is getting OT here, but let's just say the different systems serve vastly different purposes.

@lipis
Copy link
Contributor

lipis commented Oct 12, 2016

and with that.. let's get back on topic.. support this project/issue that makes all our lives easier.. that what Electron actually solved. Let's build the tools that extend it even further!

@lipis
Copy link
Contributor

lipis commented Oct 17, 2016

Closing this one to continue the conversation in #92 :) It's ON..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants