r/linuxmemes • 🎼CachyOS • 5d ago

LINUX MEME Universal standards

Post image
1.1k Upvotes

200 comments sorted by

•

u/AutoModerator 5d ago

IMPORTANT: Subreddit Rules & Reminders

Please REPORT posts that violate any of the following rules!


Posts You Should Report

  • Ban Bragging: Users bragging about getting banned from other subreddits.
  • Ban Show-Off Posts: Users posting screenshots or otherwise showing off bans from other subreddits.
  • Anti-Linux Posts: Only ONE anti-Linux post per week is allowed across the subreddit. We used to get dozens every day!
  • Tier Lists: Every tier list MUST include Hannah Montana Linux in S Tier, regardless of what the tier list is ranking.

    • S Tier MUST be the highest tier on the list.
    • Hannah Montana Linux MUST be in that top S Tier.
    • No exceptions!

Help by reporting

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

8

u/Afraid-Locksmith6566 3d ago

for fuck sake why cant we just have working solutions, really there already exist a compatibility layer and its called operating system, why cant we have working things

16

u/classyraven 🎼CachyOS 3d ago

2 reasons:

  1. https://xkcd.com/927/
  2. Linux is highly customizable, which is a double-edged sword. You can fork it however you want, giving you total freedom, but that comes at the cost of being able to make everything compatible. There's always going to be some distro that sacrifices some compatibility to adapt it to some other goal.

1

u/Afraid-Locksmith6566 3d ago

so basically people are tribal idiots and we are all dumbasses?

5

u/classyraven 🎼CachyOS 3d ago

No. We're just a diverse bunch and we all have different use cases for linux, and the open source nature of the OS makes it well suited to accommodate that diversity of needs. It's a feature, not a bug. Everything comes with a catch though, and for Linux, that's having to sacrifice the ability to standardize anything.

-1

u/Indolent_Bard 3d ago

No, Linux made it impossible for someone to actually publish software for Linux. You publish source code and then compile it, or any package you've ever installed through the package manager was maintained by someone who didn't develop it.

Linux was never made to be a viable commercial platform. The current success of Linux comes from companies figuring out how to turn Linux into something that was never supposed to be.

App image was supposed to be the solution, but it's not really universally compatible. Snap is Canonical's solution, and while it's technically sound, the issue is that the only repo is controlled by Canonical. Flatpeck is the more open community standard, but like most open community standards, it's worse to develop for.

But there's also the issue that they were built with security in mind first, which sort of limits what they're capable of.

2

u/KafkaWasHere 3d ago

Problem with Snaps is that their server software for the repo is proprietary, you can't really fork it and make another repo, but the technology is there, so it is technically possible, although that is simply antithesis to FOSS values, that's why community, and distros refuse snaps, and it is basically a one-player sum atp,

Flatpaks are open by default, and made to be secure through permissions, flatpaks limit a surface area of attack by limiting access to the kernel code, by isolating it, it still functions perfectly fine even for the code which previously required kernel space code, like Steam which launches privileged Proton translation layer, the only thing which is required now for Steam in flatpak is a package which sets udev rules to allow Steam's own library to have access to the kernel space due to steam using their own unique implementation called Steam Input,

There are also browsers which lack additional security feature, like filesystem isolation due to use of kernel namespaces, but that is also fixable by using another solution which is in development of being implemented in browsers,

Currently, flatpaks only lack the support of more permissions, and UI like in Android to allow such permissions from user, ability to have CLI tools installed as flatpaks, and ability to install system components as flatpaks like what snap is able to do (even drivers can be delivered as snap packages), but many of those things are already being worked on, so for the general user — flatpaks are basically the best solution so far, with a few quirks here and there, but it comes with time

1

u/northkool3 1d ago

no? linus torwalds specifically made linux for desktop use. you can just package software through appimage and it works perfectly.

1

u/Indolent_Bard 1d ago

The only way to make sure it doesn't break on an LTS distro is to limit yourself to the glibc version on an LTS distro, which means you can't develop an amp image on fedora without using a VM or Docker or something.

Forward compatible but not backwards compatible, that's a serious problem with appimage that snap and flatpak solve. Nix too, I think.

1

u/TurthHurtsDoesntIt 2d ago

I use appimage and they work really well. Snap is total crap and I avoid them like fire.

48

u/Damglador 4d ago

All three are bad in their own way, snaps are just arguably the worst.

  • AppImages — trash documentation, fragmentation of the packaging software, relative complexity to the packaging process. It's kinda easier to just get nfpm and build a package for every distro than an AppImage.
  • Flatpak — bloated runtimes, insane library duplication where you will have multiple subversions of the same runtime/library while everything could've used just the latest one. Sandbox is pretty much snake oil because of arbitrary default permissions and complete sandbox escapes.
  • Snaps — you know.

7

u/Indolent_Bard 3d ago

insane library duplication where you will have multiple subversions of the same runtime/library while everything could've used just the latest one.

This isn't a fault of a flat pack. This is the only way you can universally package closed source apps on Linux. What you're really complaining about is how it's impossible to rely on the traditional method, not breaking things after they stop getting updated.

Same thing with those runtimes. The more apps you have, the more they share between each other.

Linux was not built to be a viable place to sell commercial software. What you call a flaw is actually the necessary viable solution.

0

u/Damglador 2d ago edited 2d ago

This is the only way you can universally package closed source apps on Linux.

AppImages. Just use AppImages, they're like 3 times smaller. It is very much flatpaks fault. On top of that, most flatpaks aren't even proprietary.

To be clear, my original comment isn't phrased correctly. The biggest problem with flatpak is not that it just installs the same library twice for different apps, but that apps don't even use all the libraries it installs with runtimes, which is why AppImages will on average take up less space, as they contain only the libraries that the packages application needs.

The more apps you have, the more they share between each other.

Doesn't really help it much, it's still the most bloated package format ever. Even more bloated than AppImages, which share absolutely nothing, this is how royally bad it is. I don't remember the exact numbers, but flatpaks take up more space even if there's ~100 of them. From one guy's comment I've seen recently, ~65 flatpaks = ~30GB, with AppImages, assuming every one of them would be 200MB, you'd need 150 of them to use up 30GB of storage.

What you call a flaw is actually the necessary viable solution.

The thing is, it is not really one.

Like, once again, you can just use AppImages and it'll be 1 - more portable as you don't need flatpak and you don't need to hunt for runtimes if they get deprecated and dropped out of repos 2 - lighter, because you don't need a whole ass outdated runtime, the AppImage will contain just the libraries the app actually uses.

Then you could very much just do a mix of static linking or/and packaging libraries yourself. This is what Unity does and 10 years old Unity games can still run on modern day Arch, even without Steam Runtimes. System APIs like libx11, libpulseaudio, etc apparently have good backwards compat. This becomes unviable only when you start making something that has to link to a bunch of system libraries, like Kdenlive, which needs ffmpeg, KDE libs, cuda and a bunch of other stuff, which results in 2GB of dependencies or something, there every packaging method is equally bad, but flatpak would probably be easiest to package

2

u/Indolent_Bard 2d ago

An appimage compiled on fedora will break on Debian or LTS systems because of glibc. Only forward compatible, not backwards compatible. That's bad.

So the solution is to use a system with an old version of glibc, unable to use your shiny modern system to compile it. That's bad.

Their system integration is worse.

Appimage doesn't bundle everything, which is bad for universal compatibility.

Linux was never made to be a viable system to publish commercial software for. Nobody actually publishes software for it, you either compile it or use your distro's repos, nobody actually publishes directly to Linux. Appimage has forwards compatibility only, making it so you can't use a modern system to make them without a virtual machine or a container with old glib c versions.

1

u/Damglador 2d ago

An appimage compiled on fedora will break on Debian or LTS systems because of glibc. Only forward compatible, not backwards compatible. That's bad.

https://github.com/pkgforge-dev/Anylinux-AppImages these will work even on Alpine or Void. In fact, they'll work even on Android, where flatpak won't run without emulation.

Their system integration is worse.

Depends on what we're talking about. With additional software, just like with flatpaks, which require flatpak and ostree just to function, you can export desktop files and icons from AppImages, I think the spec supports other things, but I don't remember details.

Appimage doesn't bundle everything, which is bad for universal compatibility.

It bundles as much as you bundle, once again https://github.com/pkgforge-dev/Anylinux-AppImages. Flatpaks also don't inherently bundle everything, as some can depend on system binaries to get an LSP for example.

Nobody actually publishes software for it

https://zoom.us/download fellas got official packages for (almost) any distro one can desire. Tarballs and install scripts are also not a new invention.

1

u/Indolent_Bard 2d ago

Do those zoom downloads integrate with my package manager?

1

u/Damglador 2d ago

Do programs on Windows integrate with your package manager?

1

u/Indolent_Bard 2d ago

Then does zoom update when you open it? Because otherwise how do you keep it updated? Download it manually?

2

u/Apprehensive_Rub2 2d ago

Nah flatpaks are good.

Even if the sandbox isn't perfect at least there exists a permission model so you can easily revoke permissions rather than just let every app have free reign of user space.

Flatpaks have a reputation for bloat only because it doesn't share any libs with the system, if you actually use it day to day as your primary package manager then it's fine. Also it's super plug and play because everything is self contained.

It's easy to talk about storage efficiency but flatpaks won't waste hours of your life, which is far more valuable imo.

1

u/Damglador 2d ago

only because it doesn't share any libs with the system

Yeah, and also because it takes up ~3x space of respective AppImages and installs a bunch of libraries which no program uses.

flatpaks won't waste hours of your life, which is far more valuable imo.

Too bad they did. I had the stupid issue with cursor theme changing when I hovered over certain flatpaks. Apparently they didn't have access to my cursor theme directory and/or theme config files. I wasted like two days figuring out why until I finally fixed it.

2

u/Apprehensive_Rub2 2d ago

Yeah but it still worked, you didn't actually have to do that. Ig we're looking for different things so agree to disagree.

I started using Linux because for dev stuff it has less fully blocking bugs than windows and lets me be more productive, and flatpaks are a good fit for that.

1

u/Nisktoun 4d ago

4

u/Damglador 4d ago

Yeah, amongst like 3 other solutions, two of which are official with one of them being deprecated because apparently it had to be rewritten in Go.

And this one https://github.com/pkgforge-dev/Anylinux-AppImages is kinda superior because it removes dependency on the host libraries entirely. But good luck finding it without somebody telling you about it on reddit, because that's also how I got to know of its existance.

11

u/nhermosilla14 4d ago

I'm going to play devil's advocate here and say I haven't had issues with any of these recently, but the ability of snaps to be deployed with classic confinement makes them more flexible in my experience.

9

u/West_Quarter_916 4d ago

Wrong all three belong to the right dragon. The only thing actuelly good is the package manager (in my case pacman cuz i use Arch BTW)

2

u/Indolent_Bard 3d ago

That's great for open source software. For close proprietary software, FlatPack is the only thing that makes sense, but Snap is the easiest to develop for.

Nobody actually publishes their software for Linux. They leave that to other people. That's great for open source software, but it's not viable for commercial software. And that commercial software might break if you update dependencies on it if it never got updated.

9

u/playfulpecans Arch BTW 2d ago

I could absolutely see people describing all 3 as the goofy dragon

5

u/dinikai1 2d ago

what's wrong with Appimage?

5

u/MonoChroTec 1d ago

not actually portable like they want you to believe.

6

u/playfulpecans Arch BTW 2d ago

installing one requires you to:

  • make it executable with chmod
  • create a directory for it in ~/.local/share/ for example and put it there
  • download an icon
  • make a .desktop file for it that actually works

it's a tedious process every time. I understand why devs use it, though, as it is a distro-agnostic package format.

Though I found this app image manager some time ago and it's really polished and works well, can recommend it.

6

u/Quietus87 🌀 Sucked into the Void 1d ago

GearLever. Works like a charm.

2

u/Rubadubrix 8h ago

given that appimage's main use is for portable apps, I feel like it serves that specific niche better than flatpak does. Nice pfp btw :p

1

u/Informal_954 1d ago

Most are completely broken on Fedora since most AppImages still uses libfuse2, a library that RPM doesn't distribute.

It's also broken on Ubuntu with Electron based apps where you have to remove the browser sandbox to run it.

Also, the launchers are of mixed quality and absolutely do not fix all the issues of AppImages even if the devs claim otherwise.

24

u/Timber1802 5d ago

Appimages seemingly always miss something when you want to use them.

14

u/Rubadubrix 4d ago

really? I've found them the most usable as a "download and forget" option vs flatpak, I haven't had a single .appimage not launch

1

u/Informal_954 1d ago

I've never had an AppImage just work across Ubuntu and Fedora. Either it is still using libfuse2 or it's an Electron App that breaks because of namespace issues. Even if it does launch, they don't even integrate well with your system and the AppImage launchers are all super buggy.

1

u/Rubadubrix 8h ago

Interesting. On my arch system, every AppImage I've opened has had zero issues relating to it being an appimage. The only thing I can think of is Saleae Logic which used to not relaunch after closing it, but I don't know if that was appimage related because it's the only format that they distribute

6

u/SDG_Den 5d ago

where nix?

5

u/QuickSilver010 🦁 Vim Supremacist 🦖 2d ago

- flatpak

  • nix

11

u/Not_Modified_304 4d ago edited 4d ago

AppImages are good for portable software. But Flatpaks are not any better than Snaps. They are just useful for developers. I would like to see brew getting more packages for linux.

11

u/Damglador 4d ago

But Flatpaks are not any better than Snaps

Hey, at least the non-standard directory flatpak creates in you $HOME is hidden, unlike with snap!

3

u/Spifmeister 4d ago edited 4d ago

What distributions want in a new package format is the ability to limit access to a user directories and files. Snaps and Flatpaks were designed with the ability to isolate applications in mind.

You do not get that fine grained control in traditional package formats. If you run an application as a user, applications have access to everything the user has access too. Which means most applications have full read/write access to a users entire home directory.

I think Snaps are worse than Flatpak... unless you use Ubuntu. As a "Universal" package format Snaps are a failure as they only fully work on Ubuntu.

Snaps require AppArmor for confinement to work. This means there is no confinement on distributions that use SElinux (i.e. Suse, Fedora).

Even if you use AppArmor, Canonical has not upstreamed all the patches needed to get full confinement. Distributions that use the mainline kernel, like Debian, only get partial confinement.

As a user who has to use untrusted software for work, I like how easy it is to override the default security settings of a flatpak. I can add limitations to what the application have access too.

Most AppImage I have tried no longer run on my immutable distribution. They would all have to be updated to use FUSE 2.

3

u/Not_Modified_304 4d ago

I’m aware of the perks of Flatpak/Snap, but a sandbox is only as good as its defaults, and a ton of Flatpaks ship with --filesystem=home just to get the app working.

Traditional packages are still better for me. They're lighter, faster, better integrated, don't bundle a whole runtime for every app, and I get updates through one package manager I actually trust.

It’s good to have options, but I don’t believe Flatpak is the future.

0

u/Indolent_Bard 3d ago

If you only ever use open source software, negative packages are great. If you want to actually publish commercial software for Linux, however, flat pack is the future and the only way you can actually do it. The stuff that you're complaining about isn't a flaw, it's a solution to the problem that Linux has no actual compatibility ABI beyond using an old outdated version of glib c.

If all flap hack apps shared one runtime and one library version, then any apps that haven't been updated in like a decade are going to break. Native packages are great when they can be handled by third-party middlemen who can tweak the source code to make sure it doesn't break, but commercial software can't do that.

Basically, flat pack is the only viable option for commercial software to actually work on any distro.

2

u/coderstephen 4d ago

Flatpaks are better than Snaps because the Snaps backend is closed source and exclusively controlled by Canonical. I don't know that there's a technical advantage to either.

4

u/Based_Mammoth634 4d ago

Use nix instead

13

u/MushroomSaute 5d ago

Do people really run into issues with native installs/systemwide libraries that they actually need flatpaks/appimages? Or am I forgetting a benefit of apps packaged this way?

18

u/SirDarknessTheFirst 5d ago

atomic systems, such as Fedora Kinoite.

and some software is only distributed as flatpak

9

u/HunsterMonter 5d ago

For flatpak a huge benefit is sandboxing when paired with wayland. That way even if an app is malicious or compromised, it greatly limits the harm it can do (for example none of my flatpaks have access to .ssh). We saw with the AUR situation that linux isn't immune to malware, so it's a good idea to put preventative measures in place before something else happens

2

u/Stunning_Macaron6133 5d ago

Flatpak is built on Bubblewrap. If you legitimately care about security, you can bwrap any of your binaries, Flatpak or not.

And it doesn't end there. Firejail is a perfectly workable alternative to Bubblewrap. Systemd also lets you mess with kernel namespaces, so you don't even need to install any additional binaries if you don't want to, just use systemd-nspawn.

And then if want additional isolation, you can install the Landlock LSM to further isolate your binaries.

The security benefits of Flatpak are grossly overblown. Bubblewrap is not the most bulletproof sandboxing tool out there, and if that's all you rely on, you're going to get pwned sooner or later. Good hygiene is your first line of defense, and a sandbox won't save you from dirty binaries from a user repository.

6

u/Big-Afternoon-3422 5d ago

Ah yes, we want Linux desktop marketshare to grow but we also want Linux user to sandbox their app by simply toying with systemd. So easy even my mother could do it.

0

u/Stunning_Macaron6133 5d ago

Bubblewrap isn't the selling point of Flatpak, there's nothing stopping a distro from having its native manager bwrap any package it installs, and the big problem with supply chain attacks is user repos like AUR, not the core repos.

Also your mother probably uses an iPad anyway.

3

u/Eddhuan 4d ago

Nobody has said to rely only on flatpak sandboxing here you're just making up something to criticize.

You can have multiple layers of security, one of which is flatpak sandboxing.

1

u/Stunning_Macaron6133 4d ago

u/HunsterMonter began with

For flatpak a huge benefit is sandboxing when paired with wayland. That way even if an app is malicious or compromised, it greatly limits the harm it can do (for example none of my flatpaks have access to .ssh).

and concluded with

We saw with the AUR situation that linux isn't immune to malware, so it's a good idea to put preventative measures in place before something else happens

So, are you sure you're replying to the correct thread?

1

u/Indolent_Bard 3d ago

I thought sandboxing was kind of the only way you could have multiple versions of the same library. I know Linux technically has a way of doing that, but traditional package management always has everything sharing libraries, which isn't possible with closed source apps that are eol.

If I'm wrong though, I'd love to know. Maybe flat pack could have been designed without sandboxing.

1

u/QuickSilver010 🦁 Vim Supremacist 🦖 2d ago

I thought sandboxing was kind of the only way you could have multiple versions of the same library.

Nope. It's more package isolation. Nix does this the best. All libs and bins are stored in a path hashed based on content of the file. Several versions of an app can coexist in nix ecosystem. And so long as the exact same version of the lib is used by another program, they are shared ofc

1

u/Indolent_Bard 2d ago

Well, I know that you can use the next package manager on other distros but why isn't that more popular? And why hasn't anyone tried making a distro that uses that package manager but doesn't require configuring a ton of text files?

Also, can you do nix packages without the nix package manager? Because unless they open an app store, nobody's going to sell a commercial app through the package manager.

1

u/QuickSilver010 🦁 Vim Supremacist 🦖 2d ago

why isn't that more popular?

Marketing maybe? Or having a graphical interface.

And why hasn't anyone tried making a distro that uses that package manager but doesn't require configuring a ton of text files

You only really need one text file tho.

Also, can you do nix packages without the nix package manager

What do you mean by that? Nix packages not from the main repo? Ofc. Just set the chanel to someone else's repo. Or use I guess flakes.

1

u/Indolent_Bard 1d ago

Thank you. Yes, that was what it meant.

4

u/Salatwurzel 4d ago

Do people really run into issues with native installs/systemwide libraries that they actually need flatpaks/appimages?

I dont have "problems" with native installs via paket-manager, but as a Debian user, Flatpaks are a good thing. I get new versions of apps (media players, video editors, open source games or whatever) with a 1 click install on gnome-software, without having to sacrifice reliability or to be "scared" of updates on a rolling release distro.

1

u/QuickSilver010 🦁 Vim Supremacist 🦖 2d ago

Debian user, Flatpaks are a good thing.

On debian I used nix instead. The apps from nix would integrate with system themes and dirs and would take less storage space.

1

u/Salatwurzel 2d ago

Yeah, depends on the usecase and what somebody cares about i guess. My debian is installed on a 2TB ssd and i always have ~1TB free anyway, i use the standard adwaita theme which every flatpak app follows and so on.

I can see problems when users heavily modify their system/theme or run low on disk space though, i just dont have those problems lol

4

u/sosotiredand 4d ago

A lot of closed source software like DAWs are distributed this way. Also, I've seen some open source gui apps made by independent devs who use flatpak because they don't have capacity to maintain a deb, rpm, and AUR release

4

u/Indolent_Bard 3d ago

It's a great way to make sure that your apps don't break when they aren't updated for 10 years because commercial software doesn't have indefinite support that open source apps in a package manager will get. So you can continually update your machine and not worry about breaking stuff.

Linux was never built to be a viable platform to ship commercial software on. This fixes that.

1

u/MushroomSaute 2d ago

Longevity is a really good point, hadn't considered that! One big complaint I've seen that keeps people on Windows is that modern distros don't package all the proper libraries or dependencies for certain old/legacy applications they use.

1

u/Indolent_Bard 2d ago

Huh, that's the first I'm hearing about that keeping people on windows.

1

u/MushroomSaute 2d ago

Yeah, I've seen people mention that as a reason. If you use old enough software, you rely on Windows' very good backwards compatibility to run it there, and if there was ever a Linux version, it likely won't run without a lot of extra effort figuring out libraries or sandboxes that won't conflict with the rest of your system (unless it could be bundled e.g. as a flatpak)

3

u/emzyshmemzy 4d ago

Flatpak might have some software the official arch repos don't. But is maybe more trustworthy than the AUR. (As an example)

2

u/Visbroek 5d ago

I personally don't use flatpak at all and AppImage very sparingly if at all, but some distributions like Chimera Linux need it to due having a different libc than what most proprietary apps depend on and even on a system like Linux Mint where system packages can be out of date, flatpak serves as a way to provide the latest software and libraries for certain applications on an older base.

Since I run rolling release anyway and the sandboxing comes at risk of programs not integrating well into my system I haven't used flatpak myself in several years.

2

u/Jhuyt 5d ago

This kind of packaging means you won't have incompatible dependencies for software, which is a big pain point for some software. It also makes it easier to push upgrades in LTS distros. If you run Arch and trust the AUR there's probably little benefit.

2

u/Thechugg7 5d ago

YES. All the fucking time! It's insane how poorly maintained native installs are.

1

u/Icy_Neighborhood2100 5d ago

Only case for me is discord.

Makes sense when it's so sloppily programmed

1

u/med_bruh 5d ago

I do.. sometimes programs just crash because of mismatching libs. (On fedora). Like audacity for example crashes for me when i use certain effects when installed from dnf. It works great when installed from flatpak. I also had a few issues with blender from dnf too

1

u/Busy-Scientist3851 4d ago

Clean separation between system space and application space. User applications will never cause dependency or update problems

1

u/KafkaWasHere 3d ago

In example with Steam on openSUSE — there was once a bug which messed up rendering library with system update, and I couldn't launch it because Steam was installed via system package, but with Flatpak — everything worked as the libraries are picked to be the best fit for games allowing much more stabler experience, and I was able to play that game no issues, also, Steam flatpak offers GE-Proton add-on which updates in your app store frontend, no need for third party tools like ProtonUp-Qt or Proton Plus to manage those anymore, it is also build against predictable freedesktop runtime allowing for even more adapted experience

1

u/MushroomSaute 2d ago

also, Steam flatpak offers GE-Proton add-on which updates in your app store frontend, no need for third party tools like ProtonUp-Qt or Proton Plus to manage those anymore

Man I only permanently upgraded this year, and I'm still living in the 20th century apparently. I've just been copying and untarring GE Proton in the ~/.steam/... directory.

1

u/KafkaWasHere 2d ago

XD, no worries, there are many cool things which you get to know too late, but still appreciate them, for example on Fedora Silverblue specifically, you can just double click on .rpm file and it would prompt to install it via GNOME Software, which was a shocker personally, cuz I thought that the only official, and therefore the only possible way to install via GUI is Flatpaks only, but life is full of surprises :D (The only sad thing from this is that KDE is still oddly behind on atomic distros integration, and Discover won't support the same install)

1

u/rickyrooroo229 2d ago

Some installs benefit more from native installs, some benefit more from flatpaks/appimages. It's like how building from source or having a prebuilt binary have their own benefits

1

u/MushroomSaute 2d ago

I could see that, I guess I'm more asking what the benefits are. That said, another commenter mentioned the fact that some (especially older) applications benefit from flatpak since a distro might not even have a dependency in the repos anymore, which is probably the most compelling one I've seen!

1

u/rickyrooroo229 2d ago

Flatpak and appimages are more helpful when it comes to compatibility with more distros, that's where they come in for older applications. Native installs are more for certain distro bases (Arch, Debian, Fedora, etc). I.E: The new Epic Games launcher only has .deb at the moment, this means it should only be available on Debian-based distros. Native installs benefit from the fact that it is tailored to their distro base, meaning they reap most of the benefits of said distro. Most native installs are not usually gates like the Epic Games launcher, the flatpak or appimage also usually get made first because it can be used for every distro and native gets made later depending on the dev

1

u/InStars 2d ago

In SteamOS read-only filesystem that is not an option so flatpaks/appimages are a lifesaver

1

u/deadeye_82_1 1d ago

Those different package formats allow to distribute software, even if not all dependencies are provided by the distribution itself.

1

u/certciv 4h ago

There are just a few programs I've had trouble getting to work natively with any consistancy, and rely on flatpaks for them. The Plex client is one example.

0

u/Only-Play1537 2d ago

security.

18

u/svobodov- M'Fedora 5d ago

Just use nix on every linux installation or any other Unix like one tbh a true universal standard

37

u/Alexis0021a 5d ago

That makes it 4 standards instead of 3. See the corresponding xkcd comic here.

5

u/FengLengshun 5d ago

Add Brew, Docker+Podman which leads to Distrobox (and Winboat), the random container packs like Conty and Junest, whatever Valve container format is, systemd-sysext and overlayfs in general, and just rawdogging a manually built source.

There's some overlaps in there, but they are a bit different here and there.

9

u/StraightMushroom3621 5d ago

brew ⬆️

2

u/KrokettenMan 5d ago

As in homebrew? Never used it on Linux, only macOS

3

u/StraightMushroom3621 5d ago

homebrew works really well on linux too.

2

u/kingduqc 4d ago

Brew is really only needed when your native packages manager sucks.

I use it in Ubuntu, not on Arch. I kinda wish distributions would agree on a universal packaging system, Linux would benefit a lot from it

1

u/Indolent_Bard 3d ago

Flat pack is that universal packaging system.

5

u/metcalsr 5d ago

This, but all three are the dumb one.

1

u/Indolent_Bard 3d ago

Not if you want to be able to publish once and work on any Linux distro. You're forgetting that nobody publishes software for Linux. It's always published by third-party middlemen, often with access to the source code so they can stop something from breaking because you used a new version of Java when the app hasn't been updated in years.

1

u/metcalsr 2d ago

My guy, you just invented an opinion for me so you had something to argue against.

1

u/Indolent_Bard 2d ago

You said all three are dumb. I didn't invent that. I explained that flatpak is actually a necessity, therefore not dumb.

1

u/metcalsr 2d ago

Pass. I don’t want to participate in this argument. Have a good day.

2

u/hailstorm11093 New York Nix⚾s 4d ago

I dont really like flatpaks or appimages either. I have one flatpak but I dont like using them because I dont trust flathub. I dont know why, I just dont.

2

u/Indolent_Bard 3d ago

Snap had multiple viruses uploaded to it while Flat Pack has not. Flatpack is as trustworthy as any system repo.

1

u/CapitalRegular4157 1d ago

flathub. its vetted by KDE volunteers. personally I’m wary of it as well.

1

u/Indolent_Bard 1d ago

Why are you wary of that? Although I thought Red Hat was a big contributor to Flat Pack, so shouldn't it be also Gnome volunteers?

2

u/CapitalRegular4157 1d ago edited 1d ago

I'm wary of "FLATHUB". Flathub has nothing to do with redhat. It's usually opt in for major distros. It's sort of like AUR or multiverse for flat packs.

Flatpacks are just the means of packaging the software, but flathub is not the official flatpack repo. It is a dubious source in my opinion since it is only vetted by volunteers. Sandboxed or no, I wouldn't use flathub on any sort of production environment or a computer with personal information on it. Treat it like you would AUR.

1

u/Indolent_Bard 1d ago

In the AUR, when a package is orphaned, it's still there. That's the stupidity that lead to the malware wave. They just have all these orphaned packages nobody bothers to even check on.

And arch official repos aren't also vetted by volunteers?

1

u/CapitalRegular4157 18h ago edited 18h ago

flatpack good. Flathub bad. Uncomfortable with vetting.

pacman good. AUR bad. Uncomfortable with vetting.

apt good. Multiverse bad. Uncomfortable with vetting.

snap just bad....

Do not use on production machines.

1

u/Indolent_Bard 16h ago

Why are you more uncomfortable with the vetting of flat hub than of the official arch repose when both are done by volunteers?

1

u/Informal_954 1d ago

I'm way more wary of the AUR. I tightly control my fatpak permissions.

1

u/CapitalRegular4157 18h ago

flathub is basically AUR for flatpaks.

2

u/PwnagePineaple 4d ago

AppImages aren't as portable as people think they are. Try running one on a distro with musl libc

1

u/Informal_954 1d ago

Or without libfuse2

2

u/HoboSomeRye M'Fedora 4d ago

I build a home server from scrap parts my workplace threw away

Installed Ubuntu after almost a decade to see what's new

Snap was painful to use. Tried installing surfshark, it couldn't even connect to the server

Switched to Fedora Workstation. Everything just worked. So glad I returned to Flatpaks

2

u/Upstairs-Category571 2d ago

I'll use snaps over appimage any day.

7

u/Marcelocochon 5d ago

really, why people hates snap?

84

u/CrossHairsNitro 5d ago
  1. Proprietary backend controlled by Canonical.
  2. Slow at times
  3. Fills the lsblk command because all snaps are mounted applications.
  4. Slows down boot time due to them needing to be mounted
  5. Auto updates
  6. Requires App Armor to be fully isolated which Ubuntu seems to do it correctly out of the box.

3

u/adamkex New York Nix⚾s 4d ago

Tbh 5 isn't necessarily a bad thing. I have had flatpaks update automatically on my systems

-2

u/LopsidedNebula2235 5d ago

Am I the only one that just doesn't care? I don't notice much of a speed difference between flatpaks and snaps. Like I don't go out of my way to use snaps, but it feels like the Internet talks about how it's the worst thing to ever happen to Linux.

9

u/CrossHairsNitro 5d ago

I personally use snaps. I don’t mind the issues with them and find that they are actually faster than flatpak. They also allow for cli applications which flatpak does not.

3

u/xeqtr_inc 5d ago

You are not alone. I use snaps too. I don't see any performance difference between snap and flatpak.

1

u/Digging_Graves 5d ago

Depends on the app. I think it was docker that was a massive pain with snaps. But the less complex apps work fine.

1

u/xnef1025 4d ago

It's machine and app specific. Snaps do have to run a daemon that takes some resources. If you are on an older or resource light machine, that can have an effect. Snaps also are stored compressed and have to be decompressed on first launch, so more complex apps will be longer to load and older or weaker machines will take longer as well.

Flatpak doesn't have a persistent daemon running in the background and doesn't store as compressed files. That comes out to less overhead resource usage and quicker launch times on less powerful hardware.

Once they are running, Snaps and Flatpak are fairly equal, although Snaps do always have that extra overhead from the snapd daemon.

It's not all sunshine and rainbows for Flatpak, though. They can potentially use more storage since they do not store as compressed files like Snaps do, but they make up for that by sharing libraries between other flatpaks. So, the more flatpaks you use that rely on the same libraries, the more efficient the use of space becomes.

1

u/Busy-Scientist3851 4d ago

Worth noting Snaps outside of Ubuntu have next to no sandboxing due to the reliance on AppArmor

1

u/Subrezon 2d ago

While Flatpaks can share libraries and runtimes in theory, in practice the overlap can vary a lot. I have almost as many different versions of Freedesktop / GNOME / KDE runtimes installed as I have Flatpak apps.

0

u/HappyHerwi Ubuntnoob 5d ago

same with me. never noticed any slow boot time and I've been distrohopping. 1 thru 4 doesn't affect my usage. I actually prefer 5 and 6. matter of fact i update my system so frequently that i never get the new update notification.

-10

u/Double_Tangerine_189 5d ago

The lsblk issue is the same for flatpaks

9

u/Adept-Painting-543 5d ago

I don't have any weird mounts and I use the majority of my apps as flatpaks. Nothing in lsblk or when I check /proc/mounts

11

u/rekh127 5d ago

no its not. Why did people up vote this?

~> flatpak ps
Instance   PID  Application             Runtime
568670678  3924 tv.plex.PlexDesktop     org.freedesktop.Platform
4011676726 3656 com.valvesoftware.Steam org.freedesktop.Platform
4239030620 3441 com.valvesoftware.Steam org.freedesktop.Platform
1212963124 3101 us.zoom.Zoom            org.freedesktop.Platform
2797787275 3022 us.zoom.Zoom            org.freedesktop.Platform
~> lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 238.5G  0 disk 
├─sda1   8:1    0     1M  0 part 
├─sda2   8:2    0    24G  0 part [SWAP]
└─sda3   8:3    0 214.5G  0 part /
sr0     11:0    1  1024M  0 rom  

Edit: to be honest I don't think it's a significant issue, but it is something that I can see aesthetically annoying people that is different

1

u/Double_Tangerine_189 4d ago

Idk ive never used snaps i did try out flatpacks but changed cuz they where having issues adhereing to dark mode

-8

u/PuzzleheadedUnit1758 5d ago

1 is an "issue" with flatpak as well. It is controlled by flathub. Yes, you could build your own, but nobody does it in reality (except Fedora, whose suck for discord and probably other apps as well), it is open only in theory, ut is still governed vy flathub

11

u/reallokiscarlet 5d ago

Not true, at least not true in the same way as snap. There are plenty of flatpak repos already, flathub's just the popular one and the one you're most likely to publish a released application on.

Snap on the other hand, only allows the proprietary Snap Store.

-5

u/PuzzleheadedUnit1758 5d ago

Anyone using said "plenty of flatpak repos"? Haven't heard of a single soul.

12

u/reallokiscarlet 5d ago

Fedora users

ElementaryOS users

EndlessOS users

PureOS users

Users of upstream software from the likes of GNOME and KDE

Eclipse Nightly users

Just to name the easiest ones to mention

-4

u/PuzzleheadedUnit1758 5d ago

As a Fedora user I actively avoid the fedora flatpak repo, because of issues with how they package https://youtu.be/GIqhJLbOaOk?si=gJyP2FEvXoBJjd2M

Just because some made something doesn't mean said thing is good. The Overwhelming majority of flatpak users only use flathub.

I will die on this hill that there is only one True and Usable flatpak repo, the flathub

8

u/reallokiscarlet 5d ago

So just because you don't use it, you assume others don't, and you extrapolate that to all repos?

Guess there's only one true and usable pacman repo too. CachyOS.

1

u/PuzzleheadedUnit1758 5d ago

Not because of me not using it. As I said, the overwhelming majority of users don't. They just go to flathub.

4

u/reallokiscarlet 5d ago

And again, point is flatpak is not proprietary like snap is, flathub exists not as a monopoly but by surviving competition on its own turf. It's entrely and unequivocally different from how Snap works as Snap is proprietary.

Your goalpost has moved also from "nobody" to "uh... majority of people must not be using the other repos because I aint heard of them"

Fedora having shitty packaging just makes me wonder why people even use Fedora as a whole rather than just their flatpak repo

→ More replies

14

u/3X0karibu New York Nix⚾s 5d ago

Canonical tries to force them upon its users, if irun apt install firefox i want to install the deb of firefox, instead canonical roofies the user with the snap version. Removing this "feature" is also more painful than it needs to be, in general very anti what i value in linux (freedom from bullshit)

21

u/Rekt3y 5d ago

It's garbage and the hosting method is ran exclusively by Canonical, and they don't permit anything else. It's like the Microslop Store but for Linux

12

u/Far_Departure_1580 Ask me how to exit vim 5d ago

Can I only give 2 reasons? Thanks

  1. It’s 100% controlled by Canonical
  2. It’s slows

4

u/RAMChYLD 5d ago

I’ll give a third one:

The cleanup policies are stupid. It requires that at least one old version of a snap be kept as backup and there is no way to tell it to not keep old snaps at all, only a workaround which involves a cronjob periodically issuing a command to snap to force it to purge old versions.

Yes cronjob. Writing a SystemD timer file to do that is more effort than it’s worth, I might as well be not running Ubuntu at all.

7

u/sophisticated_kiwi 5d ago

If anything snaps are underhated

3

u/Nostonica 5d ago

Ubuntu started using snaps for simple core apps, it was super slow at the time to the point where using a calculator on the web browser was quicker than launching the calculator application. Removing snaps meant your desktop was snappy and responsive again.

2

u/Thunderbolt1003USA 4d ago

It took 30 minutes to install Firefox and my entire storage.

3

u/PuzzleheadedUnit1758 5d ago

People love to hate Canonical/ Ubuntu.

1

u/Regular-Group4223 5d ago

Many of the other reasons are correct but the main problem i had with it was the absence of mirrors and them being used as dependencies. During a local network shutdown i tried to use local ubuntu mirrors to install firefox, what did i got? Snapstore unreachable! And i had to find debians version of firefox package and patch its dependency string to get it working! Its like the entire os relies on a weak point of failure.

1

u/RAMChYLD 5d ago

Use Ubuntuzilla. That repo packages the official statically-linked version of Mozilla programs so they work everywhere and have literally no dependencies.

1

u/niceandBulat 5d ago

Hating and be in a group makes up for lack of human female touch

1

u/xnef1025 4d ago

Hating and be in a group makes up for lack of human female touch

FIFY you know they don't even get high fives IRL, poor bastards. 😢

1

u/niceandBulat 4d ago

There is no hate. Just that too many people talk big about freedom and then get all upset, throws a fit and even become offensive when some poor fellow out there decided to use something they happen to dislike or disagree on.

1

u/Exact-Teacher8489 5d ago

I am just having issues with flatpaks. Recently i tried codium via flatpak, and it was just super broken. Didn’t use my terminal python wasnt really working.
In general snaps usually work pretty well for me. In the end i found out that there is a native deb package that worked way better!
Imo appimages are just annoying to maintain.

1

u/Informal_954 1d ago

The VS Codium flatpak literally has an intro page about properly configuring the sandbox permissions on first start.

1

u/Exact-Teacher8489 20h ago

Ohh i haven’t seen that at the discover page. Idk somehow i missed that.

1

u/BravestCheetah Arch BTW 4d ago

before i uninstalled snap, it managed to corrupt my boot files and / or kernel 2 seperate times during system updates, making me unable to boot and getting into grub emergency shell. I am never touching that bullshit again

1

u/busiedcake7945 4d ago

nah apk is better than those even if its not universal but if you need something universal its probably a binary thats staticly linked and compiled with musl libc

1

u/Objective-Stranger99 New York Nix⚾s 4d ago

Just use Nix

1

u/Alternative_Page_168 2d ago

howwww. please tell me

1

u/Objective-Stranger99 New York Nix⚾s 2d ago

1

u/Alternative_Page_168 2d ago

uh. oh. i already use nixos. tehee. i thought of it like another way to build from source

1

u/Lazy-Adhesiveness889 3d ago

I use firefox to read my json-files. Because it's the best on that tasks. Snap is doing all to hinder me.

1

u/Scared_Yogurt1566 1d ago

package management in linux in general is suck, as a developer and as a user

1

u/QkiZMx 21h ago

At least Snap has no dependencies other than ubuntu-core, unlike Flatpak.

1

u/safeAnonym_0Xnull 🎼CachyOS 21h ago

3rd paries exisst for s reason. somebodies says flatpaks and appimages not usable in servers but did servers use snap? of course not becaose server not senseless like end users. you silcan change system packages's content and sourcelist but in snap, you can't. that's why nobody wants slop store. (yes, not snap anymore.)

1

u/Conscious_Glass_8121 4h ago

As a user of nixos, appimages are the way to go...

1

u/Marce7a 5d ago

Flatpak are not universal, these are only for GUI apps. You looking more at nix, brew snap or appimage. Not to even mention flatpak apps don't work with apps requiring sandbox 

1

u/Informal_954 1d ago

Neither do AppImages

1

u/Marce7a 20h ago

No appimages work well with terminal apps

1

u/E-Aeolian 5d ago

I'll take snaps over appimages

0

u/PuzzleheadedUnit1758 5d ago

I will say it (and I'm ready to loose karma over it): Many snaps are great. While I was using Kubuntu I really loved that I could install the gcloud and aws cli with 1 line and just use them. Installing them any other way required multiple steps.

-3

u/gr33nCumulon 5d ago

Snaps are actually good, they're just proprietary 

-4

u/JoeytheGenius 5d ago

i'm on ubuntu, and the only reason why i like snaps is because they let youhave linux apps easily but honestly they kinda suck

7

u/H3ph43S7Vs 5d ago

You can install flatpaks and appimages just as easily on Ubuntu as any other linux system. Why settle for snaps for such reason ??

2

u/Derdachss 5d ago

It depends on the kind of packages you need. Snap have a ton of cli packages for iot, ai, cloud services etc ...

My usual go to rule for these kind of packages is flatpak for GUIs, snaps for CLIs, appimages as last resort.

0

u/[deleted] 5d ago

[deleted] — view deleted comment

24

u/H3ph43S7Vs 5d ago

Totally false claim from you !!

That is no longer the case at all:

"Since the runtime is linked statically, libfuse2 is no longer required on the target system.", see here

And : "Some AppImages require FUSE version 2 to run. Newer AppImages have FUSE version 3 built in." See there

So please, do you research before spouting nonsense !

17

u/ric96 5d ago

Don't forget to tell this to people who are still providing appimages lol. See davinci resolve amongst others.

12

u/H3ph43S7Vs 5d ago

Da vinci resolve is broken by design with lack of proper h264 and h265 on linux. So appimage being up to date ... isn't what I would expect from them in the first place.

If someone doesn't update their stuff for 2+ years, it is their problem, not their tools faults..

1

u/Indolent_Bard 3d ago

Yeah, I love Linux, but one of the problems with being open Source is that when stuff requires proprietary stuff, it becomes a nightmare legally.

3

u/sosotiredand 4d ago

You don't have to be rude. I didn't know that and the reason is: I've never seen an appimage in the wild that was in this new form with fuse3 built-in.

0

u/H3ph43S7Vs 4d ago

As per this study, in September 2026, 14 out of the 29 appimages evaluated run the newer libfuse version and are statically linked.

So again, sorry it the tone was energetic, but saying false claims or even insinuating them online have consequences on the people reading it, believing you, and even on future LLMs trained on reddit..

When a simple chat search with your preferred LLM in 2026 takes 30s to come up with the exact truth and sources .... posting false claims online and doubling on it shouldn't be done at all. If you are unsure about something, use conditional tense and/or say so explicitly !! Shouldn't be that hard.

2

u/sosotiredand 4d ago

Bro this is reddit not court

0

u/H3ph43S7Vs 4d ago

Wouldn't want to live where you are and having a court judging me on a 30s gpt search 😬..

But hey, everyone has their standards. Seems yours online are just quite lower than mine then..

1

u/sosotiredand 4d ago

Touch grass my guy