Live data from Hacker News

AppImage: Linux apps that run anywhere

appimage.org

131–140 of 241 posts

Re: AppImage: Linux apps that run anywhere

#131

Earlier quoted context omitted.

What if doing that leaves orphan files (that I don't know about) that double-clicking on the appimage file could have created? I'd imagine this is true for all packages like yum ect. How can this problem be solved?

With APT you can run apt-get purge to delete most configuration files and such, if it is packaged properly.

That's still a pretty big "if".

Re: AppImage: Linux apps that run anywhere

#132

Earlier quoted context omitted.

Everything seem complicated when you dont properly understand the problem.

That's a really interesting thought, because everything also seems simple when you don't properly understand the problem. ("Let Apple open the damn back door, let the FBI know what's on the phone, then close it again. This isn't difficult." — Piers Morgan)

you two are discussing separate sides of the same coin. or to clarify:

people with a naive understanding of a problem will always feel like people who don't design solutions that are overly complex.

people with a deeper understanding of a problem will always feel like people who don't design solutions that are overly simplistic.

Re: AppImage: Linux apps that run anywhere

#133

Earlier quoted context omitted.

Yes, except that you might want to be a bit more selective in which parts you use from the base system and which parts you want to bundle - some people might not want to have e.g. glibc in each app bundle. This is where it starts to become a little more complicated than the above, see https://github.com/probonopd/AppImageKit/wiki/Creating-AppIm...

If you don't have glibc in each app bundle, it won't run everywhere. Different distros have different versions of glibc and it's very easy to end up in a situation where you use some symbol that's not defined in the system one.

Which is why you want to build on a system that is using an older version of glibc than the systems you want to run your software on. Assuming that glibc does't break backward compatibility, which it really shouldn't (and in practice, rarely ever did). Or use https://github.com/probonopd/AppImageKit/tree/master/LibcWra...

Re: AppImage: Linux apps that run anywhere

#135

Earlier quoted context omitted.

Well, first of all AppImageKit is not a package manager. For a comparison with xdg-app and other systems, see https://github.com/probonopd/AppImageKit/wiki/Similar-projec... As for sandboxing, this is definitely an area which we would like to add to AppImageKit, e.g., see https://github.com/probonopd/AppImageKit/issues/77 - thoughts and pull requests welcome!

Why are you not using containers for sandboxing?

Probably just because I haven't had the time to investigate them yet. Can containers be used without the need for root access? Pull requests welcome.

Re: AppImage: Linux apps that run anywhere

#136

Earlier quoted context omitted.

You can use either static or dynamic linking. An AppImage is really just an ISO container wrapping around your binaries.

So, yea.. As I said, in this context, it just doesn't matter if your statically or dynamically linked against glibc, every single AppImage published before Feb 15th or so requires an update. What percent of AppImage's in the wild have shipped an update? Of those, how many have updated previous stable releases rather than just the latest version? I suspect very few. [EDIT - Typos]

Regardless of dynamic or static linking there's the fact that "users dont upgrade" so you've lost either way.

Re: AppImage: Linux apps that run anywhere

#137

Earlier quoted context omitted.

You can use either static or dynamic linking. An AppImage is really just an ISO container wrapping around your binaries.

So, yea.. As I said, in this context, it just doesn't matter if your statically or dynamically linked against glibc, every single AppImage published before Feb 15th or so requires an update. What percent of AppImage's in the wild have shipped an update? Of those, how many have updated previous stable releases rather than just the latest version? I suspect very few. [EDIT - Typos]

[deleted]

Re: AppImage: Linux apps that run anywhere

#139
post #56

I find it interesting in a "Post-Snowden" 2016, that the web page with details about a mechanism to produce fat executables (and links to a demo app) is not protected with SSL. Certificates were cheap before... Now they are free thanks to Let's Encrypt. There's really no excuse for this.

Well, the code is on https://github.com and my AppImages are on https://bintray.com/probono/AppImages - once https://github.com/isaacs/github/issues/156 is closed, appimage.org, too, can go https.

Re: AppImage: Linux apps that run anywhere

#140
post #15

One of the best things about Linux systems is having this huge pool of apps that you update centrally that are guaranteed to work on your system. This is a backwards step, if anything.

Well, this is what Linus had to say about packaging: "I've seen this firsthand with the other project I've been involved with, which is my divelog application. We make binaries for Windows and OS X. We basically don't make binaries for Linux. Why? Because binaries for Linux desktop applications is a major f*ing pain in the ass. Right. You don't make binaries for Linux. You make binaries for Fedora 19, Fedora 20, maybe there's even like RHEL 5 from ten years ago, you make binaries for debian stable, or actually you don't make binaries for debian stable because debian stable has libraries that are so old that anything that was built in the last century doesn't work. But you might make binaries for debian... whatever the codename is for unstable. And even that is a major pain because (...) debian has those rules that you are supposed to use shared libraries." (August 29, 2014 DebConf Q&A with Linus Torvalds)
Post reply on HN