There are many reasons one could choose to hate Snap packages, and this not one of them. It's like hating a webbrowser because it spawns 20 processes that (the horror) you would all see when you run ps. It's just a part of how container technologies work.
Don't know about Snap, but Flatpak download sizes decrease significantly after installing the main platform libraries, they can become really small; of course that's pretty much fully negated if you're installing Electron apps, but even then 500MB isn't very accurate, more like 150MB on average
Yes I hate it, what is even more annoying is that you can do flatpak install someapp and it will search matches on its own, it shows them to you to let you decide, but after that you can't do flatpak run someapp because it "doesn't exist"
Then you do a flatpak list and it abbreviates the shit out of the identifiers so you can't use them either. Whoever designed that UX needs to lean back an contemplate life a bit.
Snaps have a similar deduplication mechanism, and snaps allows calling apps from their names like you would do with regular packages.
I think the reason for the second one is that while snaps are also meant to be used in servers/cli flatpak is built only with desktop GUI apps in mind.
Yes, sizes might be inaccurate - it's been about a year last time I tried snap or flatpak. All I remember is that snap installs around 300 mb gtk3 runtime and it's often 2 or more of them, because different snaps might rely on different gtk versions + other dependencies.
And I remember that when snap and flatpak compared, allegedly flatpak requires more storage space.
I am aware that runtime sizes doesn't scale with number of packages past maybe 3-4, but I have only 4 appimages on my system right now and they take ~200 mb, it is absurd that I'd need 10 times more space allocated for the same (or worse) functionality.
Appimage literally requires more storage for the apps because it dublicates all dependencies so in terms of storage flatpak and dnaps win by FAR, there are valid reasons to criticize all three but your comment is a sad joke!
And to make it worse, snap keeps copies of previous versions of all programs. Which can be good if you need to roll something back, but at least last time I used Ubuntu it didn't provide any easy way to configure retention or clean up old snaps.
Runtimes are okay, the problem is there is no runtime package manager and often you have like 7 of them, which is horrible. But on modern hard drives also no problem.
Appimages cant be easily ran from terminal, you need to link then to your Path.
Which will be duplicated for everything installed application, and redownloaded for every new version. Whereas flatpak and snappy shares the dependencies between applications.
I think Snap has the potential to be better than Flatpak. It's a real sandbox instead of the half-assed shit Flatpak has going on. The problem I have with Snap is that Canonical keeps the Server closed-source. I don't want a centralized app store where Canonical can just choose to remove apps they don't like. So as long as the Server is closed-source, I will stay on Flatpak
@MigratingtoLemmy@I_like_cats I wondered about that, but to me it just feels like an isolated file system based app structure, kinda like the .app folders in Macs. Does that sound right?
And with permissions, you can stop the app from accessing anything outside of its specific little file system.
I don't know if sideloading snap apps is a thing, but it has been proven that creating a snap repo isn't particularly difficult. Snap server being closed isn't really an issue Imho.
On the plus side, snaps also crap your system log full of petty little AppArmor events. And when snap gets its permissions wrong, you can easily fix it with SnapSeal.
(If Flatpak would just fucking stop rewriting every file path as /var/run/1000/blah, it would be the unquestionably superior package tech)
Friction between Snap and AppArmor is to be expected. The corporate sponsor of Snap, Canonical, is well known for their icy relationship with the corporate sponsor of AppArmor, Canonical.
Fedora is actually my main on my other machines. This is my server though. I've tried fedora server in the past, but it wasnt quite working for what I needed it for at the time. And now, I don't have time to rebuild =\
@fernandu00@terminhell I mean a simple grep to filter them out could have sufficed and then that could be aliased but yeah makes sense. Also zsys and their half assed ZFS integration made no sense.
You're right.. But I don't have an ssd in my machine and didn't want tons of mounted filesystems in my 10 year old machine..I'm far from an expert but seems to me that is simpler to have all my packages from dnf or apt ..I've changed to fedora because dnf seemed better than apt resolving dependencies ..not just because of the snap thing
Sigh, I was a sysadmin on my own system from 1999-2008 and on a busy server from 2008-2012... then essentially quit. Now with flatpak and snaps it seems I have no idea what I am doing.
Flatpaks aren't very relevant for servers if I am not wrong but Canonical definitely tties to push Snaps for that usecase, I feel like other container technologies like Docker or Podman are a lot more relevant in that context and containerization in general is really nice especially for server use and not that hard to wrap your head around! ;)
Yeah, that's really what I haven't used that seems significant these days - Docker. I used to use VMs a fair bit including the premade ones from MS for IE testing, which I think (?) are the same concept.
Switching to Gentoo has been the best. If I don't want something I just blacklist it in my make.conf. getting errors from an odd package? Blacklist. Don't want systemd or gnome software? Blacklist. It's great. My shit runs insanely fast and my system only breaks when I explicitly do something stupid, and it's usually just one minor adjustment away from getting fixed.
It is actually the secure version that requires you to specify a buffer length of the old insecure ftab function that is in half a dozen standards that counted the lines indented by tabs in a file. Of course they didn't change the fact that it just writes the result number as a string into an output buffer instead of returning an integer because that would make it less portable to operating systems which still use the insecure standard version.
I've never used a distro that offered/forced snaps so I'm not very familiar with this perpetual topic. Given it's Linux and you have options why would you continue using a distribution who had a main feature you didn't like?
Edit: Debian is server king. Proxmox, trueNAS, Clonezilla, Ubuntu you can go on and on of very niche tailored and rather amazing products that base on Debian. I'm ever curious if there are people out there using Gentoo, Arch or xyz in the server space.