LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-31-2019, 07:27 PM   #1
That Random Guy
Member
 
Registered: Jun 2017
Posts: 81

Rep: Reputation: Disabled
Why do AppImage, Snappy, and Flatpak exist redundantly?


Hello,

I've recently discovered the topic of distro-independent apps and their relevant implementations/formats.

Curios as to their purpose, I find out that they were intended to provide for the means to have any app developed and run on any Linux machine.

Of those that I'm aware of and seem to be popular in use, the three are AppImages, Snaps, and Flatpaks.

My question now is: if AppImages was already doing that before Ubuntu and Red Hat's initiatives, why didn't they simply build on what already existed with AppImage?

The three contenders differ in coverage of features and requirements, but overall, isn't their purpose the same? To eliminate hard dependencies on distros among other things?

In my mind, if more than one way to do the same thing such as this exists, then the problem isn't really being fixed. It's just yet again adding another way to do what's already being done.

According to my research, Ubuntu came out with snaps after AppImages and then Red Hat's guy came out with Flatpak later. Why?

I then see people say that Ubuntu's snap store (or something related) was sketchy in some regards to licensing?

The mind boggles as to why something so simple had to become so—yet again—complicated.
 
Old 03-31-2019, 08:02 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,382
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
My best guess is that different developers had different ideas as to how to make this happen. One person or team did it, then another though it could be done better.

(evil grin) Why are there so many text editors?
 
1 members found this post helpful.
Old 03-31-2019, 09:39 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Cool

Quote:
Originally Posted by frankbell View Post
Why are there so many text editors?
What do you mean? Is there another one besides vi?
 
Old 03-31-2019, 09:45 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
More seriously, most problems have more than one solution because more than one person or group had more than one itch to scratch. There is Microsoft Office, OpenOffice, LibreOffice; the latter two with largely overlapping feature sets. There is PostgreSQL, MySQL, MariaDB (the latter two almost identical). There is RHEL, SLES, Ubuntu, Debian, Devuan, ArchLinux, Gentoo, and a few hundred others. Apache, Nginx, Lighttpd, .... you name it.
 
Old 03-31-2019, 09:58 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,382
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Quote:
Is there another one besides vi?
(chuckle)

vim. Of course.
 
Old 03-31-2019, 10:01 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,748

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by berndbausch View Post
What do you mean? Is there another one besides vi?
ROFLMAO
 
Old 04-01-2019, 11:12 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,149

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Some of us wonder why Appimage, Snappy, and Flatpack exist at all — unless you actually like bloat and added complication, in which case you could always install Windows.
 
7 members found this post helpful.
Old 04-01-2019, 01:54 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by That Random Guy View Post
The mind boggles as to why something so simple had to become so—yet again—complicated.
problem is that (any of those three) might look simple and user-friendly, but underneath the surface they're anything but.
a lot of bloat, additional system resources etc.
something breaks in this fragile structure, the newbie is much worse off than with a regular oh-so-non-universal package management install.

and they weren't originally meant to make a newbie's life easier, they had very different, and differing i guess, goals.
just read their respective wikipedia pages:
https://en.wikipedia.org/wiki/AppImage
https://en.wikipedia.org/wiki/Flatpak
https://en.wikipedia.org/wiki/Snappy_(package_manager)
 
4 members found this post helpful.
Old 04-01-2019, 02:56 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
https://xkcd.com/927/
 
1 members found this post helpful.
Old 04-01-2019, 05:37 PM   #10
That Random Guy
Member
 
Registered: Jun 2017
Posts: 81

Original Poster
Rep: Reputation: Disabled
Fair

Quote:
Originally Posted by DavidMcCann View Post
Some of us wonder why Appimage, Snappy, and Flatpack exist at all — unless you actually like bloat and added complication, in which case you could always install Windows.
I can agree to an extent but I also understand their intent. I feel that perhaps these attempts on their own have introduced a different way to do what's already working and in a manner that isn't always going to make sense for everyone.

I personally value the performance-drop in lieu of the container/sandbox methodology but I can also see how not everyone would want/need that.

In an ideal world, I feel that it would solely be one kind of working implementation instead of what we see today; but I suppose in some sense, that would resemble Microsoft too much.
 
Old 04-01-2019, 05:38 PM   #11
That Random Guy
Member
 
Registered: Jun 2017
Posts: 81

Original Poster
Rep: Reputation: Disabled
True!

Quote:
Originally Posted by dugan View Post
So true!
 
Old 04-01-2019, 05:41 PM   #12
That Random Guy
Member
 
Registered: Jun 2017
Posts: 81

Original Poster
Rep: Reputation: Disabled
!

Quote:
Originally Posted by ondoho View Post
and they weren't originally meant to make a newbie's life easier, they had very different, and differing i guess, goals.
It's a bit ironic the way it's turned out then, isn't it?
 
Old 04-01-2019, 08:06 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,382
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Quote:
Some of us wonder why Appimage, Snappy, and Flatpack exist at all
Well said.
 
Old 04-01-2019, 10:18 PM   #14
young_jedi
Member
 
Registered: Mar 2019
Posts: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
Some of us wonder why Appimage, Snappy, and Flatpack exist at all
One of the challenges of implementing Linux across a large organization where there are many different people with different computing needs (thus requiring different distros), is packaging. Some tools to help with this problem is AppImage, FlakPak, Snaps, and Containers...

According to Linus Torvalds, alot of distros get application binary package distribution wrong cause alot of distros only allow shared libaries, and in that case it's very hard to get your binary application in, especally across mutiple distros. So that means the app programmer has to write many different binaries for it to work for each distro. And solving this issue is really hard, but he said you can solve it by simply linking everything staticly, and putting your own file system there because you can't rely on the filesystem the libaries give, and you can't rely on all the paths that the libaries depend on (this is not Linux specific, for example in the Windows and OSX binaries, packaging of applications is hard too because the different systems have different paths and different paths to icons, and things like that etc...) With that said I have no idea how AppImage, FlakPak, Snaps, etc do it, but these services are needed.

Last edited by young_jedi; 04-01-2019 at 10:29 PM.
 
Old 04-01-2019, 10:57 PM   #15
freemedia2018
Member
 
Registered: Mar 2019
Distribution: various automated remasters
Posts: 216

Rep: Reputation: 208Reputation: 208Reputation: 208
Which one is the most generic?

Lots of standards try to become a de facto standard, but when you look under the surface it's really only suited to the goals of the people that made it.

Often the simplest design is going to be the most universal, because support for it is trivial to implement. If it requires a bunch of obscure libraries or special tricks that won't be supported everywhere-- you know it's not going to be a "standard" for long.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you use Appimage, Flatpak, and/or Snaps? jeremy Linux - General 86 02-16-2021 12:01 PM
Flatpak, Snappy, Nix Packages, AppImage, Autopackage, AppDirs, Zero Install etc Grabby Linux - Software 10 01-29-2019 10:40 AM
LXer: Flatpak Linux App Sandboxing Format Now Lets You Kill Running Flatpak Instances LXer Syndicated Linux News 0 11-23-2018 01:21 AM
[SOLVED] Audacity redundantly prompts for file saving - why? newbiesforever Linux - Software 1 02-22-2013 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration