Check out our Monthly Survey Page to see what our users are running.
We do often include affiliate links to earn us some pennies. See more here.

Flathub in 2023, they have some big plans

By -

Robert McQueen, CEO of the Endless OS Foundation and GNOME Board President, has given a big update on what's going on with Flathub. A lot of work has been going in towards updating Flathub from a list of apps, into a full build service and app store complete with payment processing. This includes developer verification, user accounts and more.

You might remember my recent article talking about their funding proposal, where Flathub plans to expand the types of monetization they can offer to developers (amongst many other plans) but they need funding to finish up everything. They were asking the Plaintext Group to help with that but sadly they got turned down. That's not the end of it though, the show must go on and they're currently in discussions with NLnet about funding.

For 2023 so far they've been granted $100K from the Endless Network, but McQueen said they're hoping to to get at least $250K for this year, which is why they're seeking more funding partners.

So what else have the folks involved in Flathub been up to, and what are they planning together? A lot.

First up, some stats were revealed! They have:

  • Over 2,000 apps.
  • Over 1,500 collaborators.
  • Averaging 700,000 downloads a day.

In the post McQueen believes that Flathub has "solved the largest technical issue which has held back the mainstream growth and acceptance of Linux on the desktop" by providing an easy place for developers to publish their work, and making it easy for users to get it. I'm sure Canonical and Snap will have something to say about that…

Direct Uploads are in progress too and close to being ready, helping developers with even more automation mentioning "they enable exciting stuff like allowing Electron apps to be built outside of flatpak-builder, or driving automatic Flathub uploads from GitHub actions or GitLab CI flows".

McQueen believes now the biggest barrier for the Linux desktop is economic, and that's why we have fewer developers and apps doing stuff for Linux, noting that "as a community we continue to have a challenging relationship with money". It's true, everyone needs to eat, and you can only do so much as a hobby while working a paying job elsewhere. And so if there's no proper incentive for developers they "would be forgiven for taking their time and attention elsewhere".

This does touch on another good point, talking about how this is an issue for "diverse and inclusive participation", since without everything in place for developers to earn a living on Linux we end up requiring "that somebody is in a position of privilege and comfort that they have internet, power, time, and income—not to mention childcare, etc.—to spare so that they can take part". It's all about "shared success", giving everyone the opportunity.

They're also looking into creating an Advisory Board, so there's some proper governing of everything. This includes moving the legal side of the operation from the GNOME Foundation, who have been handling it, into an independent legal entity.

On top of that there's plans for a form of Flathub Focus Groups, which will be launching at the Linux App Summit in May 2023, and some form of online participation too for you to have your say.

Will ensuring Flathub has everything in place for developers to actually sell apps make a difference? I think it could. Speaking personally, if I'm looking for an app now, Flathub is usually the first place I look, no matter the Linux distribution I happen to be running. It's a nice feeling too, being able to just tell people to "grab it on Flathub", instead of needing to find their exact distribution, version and then find a package for them. Hopefully that idea will keep growing too, so that more developers put their apps and even games on there.

What are you thoughts on everything Flathub?

Article taken from GamingOnLinux.com.
Tags: Misc, Open Source
26 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
23 comments
Page: 1/2»
  Go to:

twinsonian Mar 7, 2023
I will admit I jumped on the flatpak bandwagon early. After reading this, I am beginning to think that those that were advocating for appimage might have been right the whole time.
ljrk Mar 7, 2023
Quoting: GuestI can't think of a single project that clashes with everything Unix more than Flatpak.

I'm a bit annoyed by this "this is not UNIX" argument by now that I'm taking some time to reply to this in a bit more verbose fashion. It's not against you as a person, but the argument is just not helpful at all.

First, what is UNIX? UNIX can be all sorts of things, a trademark, the Single UNIX Specification, the POSIX standard (which is equal to the SUS), a historical OS, a line of heritage of OSes or some wobbly idea of "what a OS should look like". In this case, it often refers to the last wobbly idea. There are a lot of slightly different concepts of what this idea precisely is, such as:

  • Everything is a file

  • Do one thing and do it right

  • Keep it simple, stupid

  • Perfect is the enemy of the good, or, good enough is perfect

  • ...



Historically, UNIX was born from the ashes of MULTICS. Basically, MULTICS was "perfect", or strived to be so, with complex handling of errors and exceptions, which propagated through to the user, ideally being caught somewhere, processed, eventually something restarted, handled, etc. It died in its infancy.

UNIX was first not much more than a filesystem, also supporting some games. It's error handling was simple, bordering on non-existent:

QuoteWe went to lunch afterward, and I remarked to Dennis that easily half the code I was writing in Multics was error recovery code. He said, "We left all that stuff out. If there's an error, we have this routine called panic(), and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'"
source

This also shone through in C when UNIX was re-written in it. C doesn't really have error-handling techniques, most core utils just bail when there's something "wrong" -- which is fine for small programs. Arguably, the "keep it simple" method in the infrastructure (OS, language) propagated into the user space and forced us to write either very primitive programs, or invent our own error handling complexity which almost always failed. I'll come back to this downside in a minute.

So UNIX tools where basically all "do one thing and do it right" due to KISS on the lower layer. Of course having small composable tools is better than huge multi-tools, looking at you GPG (oddly enough, most die-hard UNIX people also defend GPG and GPG-Mail which definitely is not UNIX anymore, neither is). However, this concept still had it's limitations, some things couldn't be just "do one thing" (or it is unfathomly hard to come up with such an architecture). Thus, there were always key components which were not do-one-thing in UNIX, such as the Kernel itself, the initd, the filesystem as a separate component, the network stack, and virtually anything relating to security. Whoops. (As a side note, this shows how much KISS and do-one-thing are not the same: Implementing a micro-kernel would be very much the latter but not at all the former.)

Everything is a file is also often named as one of the key UNIX ideas. Unfortunately, never was this true: A process famously hasn't been a file (descriptor) until Linux came around with that idea rather recently. And even then, the process itself is also a directory (yes, can be represented through an fd) containing multiple directory entries of all the resources. Basically, this "everything" is only "everything that is a single entity in its own right and no group of entities"---i.e., exactly what a process is (a process groups one or multiple threads with their resources plus a slice of virtual memory). In those cases where everything is a file is indeed implemented, it's often a bad abstraction, because it pretends that there exists such a uniform access method. This easily falls apart with things like /dev/stdin: A file that can't be seekable? So yes, writing a C program that can simultaneously read from stdin and files is "easy" until it suddenly, silently and possibly unexpectedly falls apart because you didn't query whether the "file" behind your fd is actually a file. What kind of lousy abstraction is that where you constantly need to call into the abstracted/generic object to query what it actually is?! This is worse than untyped programming, it's typeless programming, where the programmer has to keep local state for every opened fd to know what kind of file it represents. Note that this is much better solved by actually getting rid of this dumb abstraction and having a proper representation such as Rust's trait-system:

Spoiler, click me

A really simple PoC Rust program that implements a simple cat(1) without needing to wrestle with fds:
use std::env;
use std::io::*;
use std::fs::File;

const BUFSIZ: usize = 1024;

fn copy(mut dest: impl Write, mut src: impl Read) -> Result<()> {
    let mut buffer = [0; BUFSIZ];

    loop {
        let read = src.read(&mut buffer)?;
        if read == 0 {
            return Ok(());
        }

        let mut remaining = read;
        while remaining > 0 {
            let written = dest.write(&mut buffer[read-remaining..read])?;
            remaining -= written;
        }
    }
}

fn main() -> Result<()> {
    let args: Vec<_> = env::args().skip(1).collect();
    if args.is_empty() {
        copy(stdout(), stdin())?;
    }

    for arg in args {
        if arg == "-" {
            copy(stdout(), stdin())?;
        } else {
            let f = match File::open(&arg) {
                Err(e) => {
                    eprintln!("{}: {}", &arg, e);
                    continue;
                }
                Ok(f) => f,
            };
            copy(stdout(), f)?;
        }
    }

    return Ok(());
}

Do note that "everything is a file" proved such a terrible idea that it was amongst the first things changed when the original authors of UNIX went on to design Plan 9.

Regardless, as someone who has actually worked on an internal fork of an actual UNIX system---and I mean developed the UNIX itself, not only worked "on" the UNIX---all this "everything is a file" is bullshit that was soon scrapped by all reasonable UNIX systems soon enough. And all the over-interpretation of "do one thing and do it good" as well (cf., Sun SMF, Zones, ZFS, ldoms, and Apples launchd, etc.). There's merit to this concept, but wielded more carefully.

Finally, "good enough is perfect" methodology is nice for a "finished" product. Something you can develop, sell/distribute and don't care afterwards anymore. It's absolutely the worst if you have to iterate on it or god-forbid, have other people work ontop of your infrastructure (e.g., if you are a Kernel). Of course, not being perfect shouldn't hold you from releasing necessarily, but you should strive for better. A lot. Otherwise you have code rot and wind up with [insert XKCD here].

So what was I saying about KISS inducing more complexity? If you keep your underlying system (overly) simple, the tools built ontop of it will need to add additional complexity to actually serve the demands of the user. You cannot, if Google crashes, just call 'em and let 'em restart the server farm. But I bet you also don't want to reboot in the middle of your gaming session, just because some daemon hangs. The key here is "serve the demands" and the demands have changed a lot. Remember that UNIX got funding because the developers promised AT&T to build a text-processing system which they could use to better print their patents and bills. That, plus serving the programmers of UNIX itself was the "demand" UNIX had to fulfill. Back then, the tools you used on UNIX were called PWB: Programmer's Workbench. Incidentally, not all users nowadays are programmers, nor is all you do coding, typing texts and playing a little console game.

UNIX wasn't bad. Not at all. I damn love UNIX, I even love C! But it's vintage. It's served its purpose. It was actually perfect for what it should do, so it never was "KISS" but "do exactly what's required, but not more". Nowadays we require more of a system, that's the natural way things go, hence, more is required from a system. Nowaday's UNIX would look a lot different.

Requirements that we nowadays have are things like:

  • Easy rollback of single applications

  • Fearlessly extending the system with apps, them not interfering with each other

  • Automatic deployment, updating, ...

  • Restriction of app's read/write permissions to per-app boundaries



This list is absolutely incomplete but does contain some of our new requirements (yes, maybe not for you since you may use only small FOSS apps and reboot to Windows for the other things, but for some people that's no feasable setup). Now Flatpak isn't perfect (that's the enemy of the good) and doesn't address all these problems, but it's a good start. And it's actually not "one tool" but building ontop of a lot of small tools such as cgroupsv2, bwrap, xdg-portals, pipewire: It's more an umbrella for a collection of tools that are designed properly to work together.

Flatpaks are basically even the most small applications as they're defined in terms of almost completely declarative "code" for building, metadata and the code itself. Just a super small archive of this will allow you to reproducibly build the Flatpak! It's serving the current needs of our world but not more.

To wind this down: Software development, historically, is always an iteration of ground/infrastructure work which starts out really primitive. Then apps, building upon this, and there's this "idea of a moment" where everything fits perfectly: The user's requirements, the apps fulfilling these, and the infrastructure providing the necessary tooling fulfilling the apps' requirements. They all line up and Dennis Ritchie sheds a tear. But then the users' requirements change, the apps stretch the boundaries of what the infrastructure provides and, inevitably, the infrastructure needs to change as well. It adapts, people cry for the lack of simplicity (sometimes rightly so!), the tools can then shed a bit of old, musty code not needed anymore and all is good again. Waiting for the next cycle.
eldaking Mar 7, 2023
While those things are, in principle, all positive I still worry a bit that this move might end up going in a less than ideal direction.

Flathub is already pretty great now. And most app stores are complete garbage, filled with proprietary shovelware full of malicious functionality (spying, ads, lock-in...). Making flathub into an app store could easily mean a huge downgrade.

Similarly, Linux apps - in particular the simple apps that you'd get from an app store¹ - are already pretty damn good. PDF viewers, torrent clients, media players, image programs, system utilities, text editors, browsers, compression tools, it's all good; the only reason Linux isn't better than other systems is because open-source apps are generally multiplatform and make their way to Windows at least. It is definitely fair that those great apps could make their developers some cash, but I don't know if the "economic incentive" (or profit motive) would make for better apps. It would be an incentive for shovelware, for allowing bullshit into the repos/store, for showing ads "to help devs"... in my experience, the FOSS apps made with no expectation of payment are generally better than the commercial alternatives, despite the obvious advantages the latter enjoys. In the end, it depends on what posture Flathub will have - what it will allow, what it will promote, who it will hear, etc. But this "make everything into a market, it is the best thing always" mentality is suspicious.

¹ For big professional software suites like Adobe or Autodesk, they definitely aren't waiting for payment processing in an app store. For specific things like games, it's not like Flathub will replace the dedicated stores. And for many things like my city's bus app, local university or restaurant apps, and many others the barrier is not the distribution, just adoption of the system and people giving a fuck about it
Ananace Mar 7, 2023
It's nice to see that Flatpak - and Flathub as the default store - are continuing to focus on improving the desktop experience not just for the user, but for the developer as well.

Hopefully the system they build for doing the entitling of purchased applications is something that's going to be usable for more Flatpak repositories than just Flathub, since there's really not any good ways to distribute paid Linux applications right now, especially not in a way that lets them properly integrate with the system.


Last edited by Ananace on 7 March 2023 at 1:18 pm UTC
mattaraxia Mar 7, 2023
Quoting: GuestI can't think of a single project that clashes with everything Unix more than Flatpak.

How so? It's debatable if it even needs to adhere to a philosophy from the 70s, but I mean, the UNIX philosophy isn't some abstract feeling, it's four specific points. Which one does it clash with so badly? I mean the point about one program being an input to another maybe, but that applies to most gui apps not written in the 70s. If it's the part about one tool doing its thing very well, flatpak is made up of ostree, bubblewrap, etc. It isn't some huge monolith. I find "Unix" and "Unix philosophy" and the like gets misappropriated a lot to basically just mean "thing I don't like."

If you just mean that it's big, that you don't like repackaging a bunch of stuff in user space . . .

- statically linked binaries have been a debate for decades
- Linux itself (no one wants to die on that microkernel hill anymore?)
- BSD chroots anyone
- Docker
- Kubernetes
- a huge amount of apps where the client and server are distributed as one binary, eg everything Hashicorp

I would in fact argue that 45 years later, flatpak and most of these tools are *very* UNIX like, to paraphrase Brian Kernighan:

What makes UNIX so powerful is that it decouples how the program is written, what language, what style, etc from the environment around them. A bunch of tools combine to create a coherent environment. Is that not exactly what flatpak does in 2023?
gradyvuckovic Mar 7, 2023
Overall the direction sounds good.

I think the main focus for Flatpak/Flathub should be:

- Ensure any application on Flathub works as intended, with all functionality the user would expect to see working, without issues. If that isn't the case, use whatever 'temporary' solutions are necessary to make it so until better long term solutions are in place. No one is going to want to use Flathub to download applications if they experience too many occasions of applications not working due to mishandled sandboxing. Prioritising 'Everything must be sandboxed!' at the expense of functionality, is prioritising ideals over users, which will result in less/no growth over time.

- "Developers, developers, developers!"... laugh if you want, but Palmer was right when he said that. If you want to make a platform successful, make developers happy. It should not be assumed that developers will just 'figure it out', if you leave the pieces on the floor for them to pick up and assemble a solution. There should be a very straight forward 'hand holding' process for getting apps onto Flathub, and enough documentation that even a non-programmer can easily figure out how to get an app on Flathub.

- Finish the permissions system, and by that I mean, do the other 50% of the 'Android on Desktop' like permission system Flathub/Flatpak has started. Add APIs for apps to check if they have permissions they want, add APIs for apps to request permissions, list what permissions app are asking for before install, if permissions change with an app then list the changes, make it easy to grant/revoke permissions, notify the user when something is blocked by a lack of permissions (nothing is a greater source of user frustration than something failing silently without explanation), etc etc.
ramcq Mar 7, 2023
Quoting: eldakingWhile those things are, in principle, all positive I still worry a bit that this move might end up going in a less than ideal direction.

Flathub is already pretty great now. And most app stores are complete garbage, filled with proprietary shovelware full of malicious functionality (spying, ads, lock-in...). Making flathub into an app store could easily mean a huge downgrade.


Thanks for the thoughts! I'm obviously very concerned about this not happening, which is part of why we're moving so slowly and making sure our governance is solid so that when we move, we do so with community support and trust. But I think if we're cautious about the incentives we put together and how we set up our goals, we can bring convenient payment/sponsorship/etc options alongside convenient app availability without just setting up this pure-profit race to the bottom.

The unique thing about Flathub compared to other app stores is that at its heart we exist to promote and serve the interests of the FLOSS community, and we'll ensure that through the governance we set up through GNOME and KDE, and any future steps we make with advisory boards etc. We will prioritise FLOSS applications over proprietary applications - for instance the fees will be higher for proprietary apps than free ones. None of this means we need to change the licensing properties, trust, transparency, etc - we will indicate when things are not open source or have not been built in transparent/trusted places, we'll scan for up to date dependencies and known malware, and we're going to reject and call out bad behaviour.

My personal hypothesis is that sponsorship (paying for the work of the creator, on the next update/version) is a better match for the model of how FOSS is developed compared to paying up front for something, or getting it for free and then trying to "monetize" () later with ads/spyware/etc. It's up to each developer how they set their apps up, but I expect - sponsorship, donations, and supporter content / paid upgrades (note: this doesn't mean open core - you can charge to distribute something which is still open source) - to be the most common approaches. We want to be led by the developers which is why the focus groups at LAS and online surveys are the next step on this payments journey.

Obviously it's inevitable that "junk" will appear - but I don't think it will be very popular and we won't work to promote it. I think the majority of the proprietary apps on the platform will be the things we already have - ie free of charge as they are actually clients to existing services/networks where payments are handled elsewhere - so proprietary apps being purchased for a fee will be a minority of the volume on the platform. There is a small cluster of extremely niche software which is available for Linux - things like a certain audio workflow or software for fitting carpets or something - maybe we'll get some of them if we can help bring those developers and users together?
Purple Library Guy Mar 7, 2023
Quoting: ramcq
Quoting: eldakingWhile those things are, in principle, all positive I still worry a bit that this move might end up going in a less than ideal direction.

Flathub is already pretty great now. And most app stores are complete garbage, filled with proprietary shovelware full of malicious functionality (spying, ads, lock-in...). Making flathub into an app store could easily mean a huge downgrade.


Thanks for the thoughts! I'm obviously very concerned about this not happening, which is part of why we're moving so slowly and making sure our governance is solid so that when we move, we do so with community support and trust. But I think if we're cautious about the incentives we put together and how we set up our goals, we can bring convenient payment/sponsorship/etc options alongside convenient app availability without just setting up this pure-profit race to the bottom.

The unique thing about Flathub compared to other app stores is that at its heart we exist to promote and serve the interests of the FLOSS community, and we'll ensure that through the governance we set up through GNOME and KDE, and any future steps we make with advisory boards etc. We will prioritise FLOSS applications over proprietary applications - for instance the fees will be higher for proprietary apps than free ones. None of this means we need to change the licensing properties, trust, transparency, etc - we will indicate when things are not open source or have not been built in transparent/trusted places, we'll scan for up to date dependencies and known malware, and we're going to reject and call out bad behaviour.

My personal hypothesis is that sponsorship (paying for the work of the creator, on the next update/version) is a better match for the model of how FOSS is developed compared to paying up front for something, or getting it for free and then trying to "monetize" () later with ads/spyware/etc. It's up to each developer how they set their apps up, but I expect - sponsorship, donations, and supporter content / paid upgrades (note: this doesn't mean open core - you can charge to distribute something which is still open source) - to be the most common approaches. We want to be led by the developers which is why the focus groups at LAS and online surveys are the next step on this payments journey.

Obviously it's inevitable that "junk" will appear - but I don't think it will be very popular and we won't work to promote it. I think the majority of the proprietary apps on the platform will be the things we already have - ie free of charge as they are actually clients to existing services/networks where payments are handled elsewhere - so proprietary apps being purchased for a fee will be a minority of the volume on the platform. There is a small cluster of extremely niche software which is available for Linux - things like a certain audio workflow or software for fitting carpets or something - maybe we'll get some of them if we can help bring those developers and users together?
This clarification does make me feel somewhat less uneasy.
Purple Library Guy Mar 7, 2023
Personally, I like Flatpaks as a concept, I feel they're appropriate for a significant niche, but I've never actually used one. If I want an app (that isn't a game), I get it from my distro, which, being Mint, has a nice easy GUI for software installation. I guess my needs aren't all that specialized. And that way it gets automatically updated, in ways that don't create conflicts, and I generally don't have to worry about it, and if I ever want to uninstall one that is very easy to do.

So for regular open source applications, Flathub is solving a problem I don't have, with a solution that is slightly more labour intensive than my existing approach. If there were closed source applications that I needed, that weren't games, I can see getting them from Flathub. Or I guess if there were open source applications that I needed, that were not available from my distro but were available from Flathub, I'd grumble and use it. But for most stuff I would prefer to use traditional package management integrated with my distro, and I will be unhappy if there is a general trend away from existing package management and I end up having to install everything as Flatpaks.
tuubi Mar 7, 2023
View PC info
  • Supporter Plus
Quoting: Purple Library GuyPersonally, I like Flatpaks as a concept, I feel they're appropriate for a significant niche, but I've never actually used one. If I want an app (that isn't a game), I get it from my distro, which, being Mint, has a nice easy GUI for software installation.
Do bear in mind that these days Mint's friendly software manager GUI (mintinstall) integrates Flathub and the update manager updates your flatpaks seamslessly. When both sources offer the same version of a piece of software, there's no reason to go for the flatpak, but there are several apps that are a lot more recent on Flathub. Godot is a good example. And then there's software like DBeaver (database manager) that are not in the default Ubuntu/Mint repositories at all, but can be installed from Flathub using your friendly and familiar GUI.
alka.setzer Mar 7, 2023
For an example where flatpak is a good add-on look no further than musl based distros (Alpine for example). It provides me with a way to use proprietary software*, Spotify for example (and no, the web version doesn't work) which I would not be able to use otherwise.

On the downside I'm not fan of having to store multiple versions of gnome and other runtime software (total of 3.8GB) because I have two applications installed (330MB) when I also have to have a copy of gnome libs for non flatpak apps. But hey, storage is cheap right and bandwidth limitations are not a thing. (Though I'll admit that flatpak distribution is better than average)

As for monetization, I really don't see this being a thing that will work. Microsoft and Apple already tried it with their desktop OSes and neither had any traction despite the huge user base and lots of money to throw at the problem.
Now if we were talking about mobile OSes maybe this could work (but the linux/*bsd user base isn't very keen on spending money on software)

* Yes, I could install glibc and suffer many pains or try to help with gcompat and similar compatibility efforts.
user1 Mar 7, 2023
Quoting: GuestI can't think of a single project that clashes with everything Unix more than Flatpak.

Um, Unix is not a religion nor the greatest thing ever created in the history of the entire universe, don't you think?


Last edited by user1 on 7 March 2023 at 7:07 pm UTC
user1 Mar 7, 2023
Btw, I'd argue that Flatpak is much much closer to the Unix principle of "do one thing and do it well" than traditional package management because in Flatpak you have your regular apps and the different runtimes underneath (there are also separate runtimes for GPU drivers and separate runtimes for other system packages) and there is a clear separation between every single app and between every single runtime. With package management on the other hand, you only have this one monolithic chunk of packages with which there is no clear separation between system packages and regular apps. Everything is on the same level.

The same argument can be made about kernels - that Microkernels (that are barely used in the Unix or Unix like OS family) are actually closer to Unix philosophy than monolithic kernels...

So anyone whining about "but but muh Unix philosophy" doesn't even know what he's talking about.


Last edited by user1 on 7 March 2023 at 8:39 pm UTC
Grogan Mar 7, 2023
This is pollution, these containerized packaging systems.

It wastes/duplicates resources.

The applications are linked against someone else's stupid old libraries instead of my optimized ones.

You can STILL have compatibility problems when the system is using newer APIs than the libraries in the container or the common ones in the runtime that have to interface. Not ALL libraries are provided in the container environment.

The real motivation for this is borne from lazy distributors that don't want to provide the environment their users need to run applications and want to get out of compiling packages for third party software.

The biggest WHINERS are the commercial distros too, the ones that have the most resources. You don't see distros like Arch whining about providing a full environment with multilib dependencies for software and games. Hell I keep my applications running... flying by the seat of my pants even, so these hard done by commercial distributors certainly can keep things running too without resorting to this sort of kludgery.

I have real reasons why I hate this shit, it's not just philosophical objections.

Here's another personal example of running afoul of container environments. Even Steam's Proton builds give me problems because they are linked in stupid containers. This was like a revelation to me when I discovered the reason for the inconsistencies.

My proton-tkg builds use my toolchains and link against my system libraries with the exception of some in the Steam runtime to interface with Steam and run in its Proton container. Guess what? They work for every single game. I used to have to use multiple different Proton builds (some older, some newer, some upstream wine based) for different games because some code paths in them were always broken for something. For another example, the proton-media-converter (libprotonmediaconverter.so) for mediafoundation NEVER worked for me (I had to use mf-installcab to install the Microsoft libraries for Unreal 4+ games) until I compiled it with my own properly bootstrapped rustc, and linked against MY gstreamer libraries. All that time I just thought that was poo that didn't work. This is different from using the Proton-GE build system too, which does everything in podman containers now, downloading toolchains and everything from Valve and those builds suffered from the same problems, for me. (Worked for some things, not others, and protonmediaconverter NEVER worked)

No containers for me, that just won't work for my flow.


Last edited by Grogan on 7 March 2023 at 9:50 pm UTC
Quoting: Purple Library GuyOr I guess if there were open source applications that I needed, that were not available from my distro but were available from Flathub, I'd grumble and use it. But for most stuff I would prefer to use traditional package management integrated with my distro, and I will be unhappy if there is a general trend away from existing package management and I end up having to install everything as Flatpaks.
When I tried Fedora recently, I found the version of Anki offered in the official repositories was from 2-3 years ago. On Arch, I use the version of Anki built from the AUR, which also includes a much newer version of the database.

The only other ways to install Anki are through pip, the official binary installer on the website (not a great experience), or through Flatpak. The Flatpak way is quite easy. I assume most other distributions have an outdated version of Anki too, because they got sick of packaging it. I think FreeBSD is the only exception (and from memory, I believe most packagers were relying on the FreeBSD packager's work).

I know the one arena Flatpaks won't replace distribution-built packages is system-level packages like Linux, bash, and glibc. Installing browsers using Flatpak is also a dumb idea.

But...if it ever does get to that point, know that Gentoo, Nix and GNU Guix will welcome you with open arms :P


Last edited by pleasereadthemanual on 7 March 2023 at 11:42 pm UTC
CyborgZeta Mar 8, 2023
I prefer Flatpak for most (not all) programs, myself. I like having a stable base with Firefox, Thunderbird, Steam and the like installed as Flatpaks. What I'm unsure about is having an immutable base + Flatpaks. I can understand the idea behind an immutable filesystem, but there have been times I needed to mess with the root filesystem.

Anyway, I'm not smart enough to start analyzing the long-term ramifications or whatever of all this. All I can say is that I like Flatpak, I like Flathub, and anything that helps both grow, and makes it easier for people to contribute, sounds good to me.
Purple Library Guy Mar 8, 2023
Quoting: pleasereadthemanual
Quoting: Purple Library GuyOr I guess if there were open source applications that I needed, that were not available from my distro but were available from Flathub, I'd grumble and use it. But for most stuff I would prefer to use traditional package management integrated with my distro, and I will be unhappy if there is a general trend away from existing package management and I end up having to install everything as Flatpaks.
When I tried Fedora recently, I found the version of Anki offered in the official repositories was from 2-3 years ago. On Arch, I use the version of Anki built from the AUR, which also includes a much newer version of the database.

The only other ways to install Anki are through pip, the official binary installer on the website (not a great experience), or through Flatpak. The Flatpak way is quite easy. I assume most other distributions have an outdated version of Anki too, because they got sick of packaging it. I think FreeBSD is the only exception (and from memory, I believe most packagers were relying on the FreeBSD packager's work).

I know the one arena Flatpaks won't replace distribution-built packages is system-level packages like Linux, bash, and glibc. Installing browsers using Flatpak is also a dumb idea.

But...if it ever does get to that point, know that Gentoo, Nix and GNU Guix will welcome you with open arms :P
Thing is, stuff like this suggests to me that what things like Flatpak are supposed to solve is quite different from what Flatpaks apparently do solve. If things that were packaged by distros end up getting packaged as Flatpaks, because packagers find they prefer packaging things as Flatpaks, because it's easier to do, that says the problem with existing package management systems is not the results but how easy they are to use from the packaging end.
The obvious solution would seem to be to make existing package management systems easier to package things with, and more automatable. Maybe there's some technical/theoretical reason why that's impossible, I dunno.

I'm just saying, if the reason users are ending up using Flatpaks isn't because they're more maintainable or because users are clamouring for sandboxing but just because there are newer packages, which in turn is because packaging debs or whatever is just harder/slower to do, then the solution isn't so much Flatpaks it's making packaging debs or whatever easier and faster.


Last edited by Purple Library Guy on 8 March 2023 at 12:32 am UTC
Quoting: Purple Library GuyThing is, stuff like this suggests to me that what things like Flatpak are supposed to solve is quite different from what Flatpaks apparently do solve. If things that were packaged by distros end up getting packaged as Flatpaks, because packagers find they prefer packaging things as Flatpaks, because it's easier to do, that says the problem with existing package management systems is not the results but how easy they are to use from the packaging end.
The obvious solution would seem to be to make existing package management systems easier to package things with, and more automatable. Maybe there's some technical/theoretical reason why that's impossible, I dunno.
In Anki's case, it was due to the developers changing the build system so many times that distribution packagers just got sick of doing it. The previous way (before they changed to the current build system, which is much simpler) was using Bazel, which few packagers were familiar with. Anki is complex software, but nothing compared to the pain that building Audacity used to be. That's why Audacity was years out of date on most distributions before Muse Group took over and started improving things.

As to why the Flatpak version exists...anyone can be a Flatpak packager; you don't have to go through the arbiters of any community. You also only need to do the work once.

Now, I'm not much of a developer, so don't take my word on any of that. This is just my even-keeled conclusion based on all I've read on both of these situations.

QuoteI'm just saying, if the reason users are ending up using Flatpaks isn't because they're more maintainable or because users are clamouring for sandboxing but just because there are newer packages, which in turn is because packaging debs or whatever is just harder/slower to do, then the solution isn't so much Flatpaks it's making packaging debs or whatever easier and faster.
Packaging takes the most time of any aspect of distribution maintainership from what I know. It doesn't move the distribution forward, but it takes so much time and effort from so many people just to keep all the software up-to-date. Hence a universal packaging format. If you want developers to be doing the packaging—and I do—you need a single format which works in as many places as possible. You also can't stand at the gates, turning away any software that isn't popular enough, or any developers that aren't worthy enough.

Some would argue that developers shouldn't be the one packaging their software; packagers should be doing that. They know the system the software is supposed to run on, so they should decide how it's packaged, which parts are compiled, and whether to apply any patches. I'm almost inclined to support this argument until I think about the absurd amount of work a group of packagers for a distribution has to do on a regular basis. I can understand that argument for critical parts of the system like Wayland, GNOME, Linux, glibc, bash, systemd, and networkmanager, but I don't think packagers should be responsible for userland software at a certain threshold.

Oh well; I'm not a packager, so I can't say one way or the other. Packaging .deb archives might be harder, but making packages for Arch is super easy. I don't think it's the difficulty in using packaging tools that's the problem; it's the build systems. And also getting people interested in keeping up with that. Arch has a community repository from which Anki was dropped last year because the Trusted User lost interest or didn't have enough time, or whatever. There were still people willing to keep up with the new build system, but they weren't Trusted Users, so the package was hosted on the AUR.

So you might say the real problem is that there is too much vetting going on to make sure the packagers are trustworthy.
ElectricPrism Mar 8, 2023
This topic & comments have been a roller-coaster to read.

* People arguing for/against UNIX Philosophy and whether or not it's even relevant in modern times as user requirements have changed.

* Hatred of all things Containers

* Concern (Fear) of the destruction of something good (FlatHub) by changing it in new ways.

* Speculation on if package managers are inadequate and Flatpak is eating their lunch.

* Fear of Crapware Store Spam & a Linux Adpocolypse

* Lamentations over supporting Flatpak over AppImage in the past.

I'm surprised that I haven't seen any comments expressing fear over the GNOME origin since GNOME is infamous for having their own philosophy and yeeting user feedback.

This seems like another historical fork in the road and pivotal moment -- like when Valve created Proton, The Ubuntu Phone, Unity 8, Mir v Wayland v X. Systemd being mainlined in Debian.

--

Regarding Containerization. For most people nowadays Storage and RAM are cheap with huge excess, so that argument doesn't hold up.

Sure I understand that IDEALLY IF a program were to use System Libraries IN A PERFECT WORLD it would be great. But we live in a world where Content Creators -- people who make Apps build a thing, or for-profit companies build a thing, and then move on -- they don't baby their creation and adopt it forever updating it against GTK v57 ever 2 weeks until the end of time.

With that in mind I would argue that IF "security" or "portability" are key or if the parts are part of the OS Platform -- then using system libraries are optimal.

If however the program, app, game, etc... is CONTENT then I would argue that containerization is optimal as users really are not prioritizing Did the app get "security" patch v145 when they play CS:GO for example. Different use cases -- different goals, different targets.

Thus a web server, or email server, or bank server is going to look different from a home workstation.

I do worry that in changing FlatHub that they may fuck it up. However, acting out of fear is often not optimal -- so I'll give it my [ Fuck It ] stamp of approval and hope that they succeed and prove me wrong. We're gambling that the net effect will bring more paid products to Linux and carve out a marketplace. Hopefully such a marketplace isn't ever corrupted or used for sabotage, I just think the prospective benefits of the gamble are too big to ignore. In the same way that Proton literally increased the number of games on Linux above 10,000 or 20,000 or whatever it is in a very short time.

I will say that I do believe in a certain Survival of the Fittest and that Linux & FLOSS is so broad that there are many projects that are created and then die or fail, but out of those we have some BIG Winners that make the whole platform better than Windows & Mac and #1 for many users.

If FlatHub people are reading this -- I would hope they take a lesson from Gabe Newell when in 2013 he said their entire business model is built around "Removing Barriers" -- making it as easy as Possible for customers to be informed and get access to Content. Additionally when he talked about "Piracy is a service problem" as is seen with Netflix. People will pay for things but ONLY IF it's more convenient to exchange money to take the hassle away of getting it elsewhere or having to babysit / manage it.

And in the spirit of Open Source, if you don't like something -- fork it. Debian had Devuian -- if people want to take everything FlatHub is in 2023 and feel it's worth forking into a new website, go for it.

There's plenty of room for everyone, and we'll see how the future shapes up.

(I do hope that the the FlatHub Plus? /s business model steals a few pages from Valve's Employee Handbook figuratively and literally and distances themselves from The-GNOME-Way.)

One thing's for sure -- this is going to be very interesting.

Edit: I also wanted to add that Strict Political Agnostic Neutrality is critical to me buying on the store -- gatekeeping one dev or another because they are of the blood of a current enemy or have different ideology or beliefs contrary to popular public opinion will turn me cold so fast. Meanwhile a level of content curation is necessary -- I would hope users can tag content, and the curation process be agnostic. The only discrimination I am for is things like tags [ Has Telemetry ] and discriminating against any apps with [ Ads ] -- or scam shovelware disguised as content. If people want to declare a political or national association -- I have no problem with that but I want to be able to filter OUT content from my feed with specific declarations -- those decisions should be informed and made by ME the user and not on a per-store basis.

It's like Gabe Newell's argument for anime dating games on Steam -- 99% of customers don't want that content and so they filter it out. Then there are 1% of users who buy dozens or hundreds of that content -- and Gabe Newell and Valve don't make themselves Arbiters to promote content of one nationality and block content of another for example -- I the customer with the money get to discriminate with my money -- not the store. My money goes to the places I believe are merited or a fair exchange.

Edit 2: I write this as someone who makes decisions about thousands, tens of thousands and hundreds of thousands in business deals or purchasing equipment for clients, software and so on -- so please do understand I ALWAYS vote with my dollar -- even MORE so when it benefits FOSS and Linux connections.

(3 Steam Deck gifts later and I'm thinking of buying my 4th)

We must always vote with our dollar.


Last edited by ElectricPrism on 8 March 2023 at 3:15 am UTC
fenglengshun Mar 8, 2023
All these complicated comments meanwhile, all I think about when I saw the announcement was "More funding better flathub, better flathub more apps, more apps more good." Besides, I think @gradyvuckovic already expressed all of my worries, and I'm sure the flatpak (and related) devs are aware of those concerns.

I'll just use whatever's available, man. Testing out Vanilla made me not really fussy about what way I could get my apps, just use flatpak, if not work then either nix, container, or appimage, if not work then install natively or build it manually. It's, like, whatever man.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.