this post was submitted on 08 Sep 2023
325 points (93.1% liked)

Linux

46819 readers
1136 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
325
Why I dislike snaps (lemmy.dbzer0.com)
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

Screenshot doesn't even show half.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 50 points 11 months ago* (last edited 11 months ago) (6 children)

snap/flatpak >500mb

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

flatpak run com.very.easy.to.remember.and.type.name

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"

[–] [email protected] 10 points 11 months ago (1 children)

Last one could easily be fixed tho

[–] [email protected] 1 points 11 months ago (1 children)

Hopefully it would be fixed upstream on the actual flatpak command, but do you know if there are wrappers for it already?

[–] [email protected] 1 points 11 months ago

No. If I have to launch a flatpak through the terminal, I always just do flatpak list and copy the ID or whatever it's called

[–] [email protected] 5 points 11 months ago (1 children)

There's a nice program called flattool that solves the name issue

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

Is it this one?
It looks excellent, ~~any idea why it's not on Flathub yet?~~ Never mind, I got it:

This project is still in its early stages

[–] [email protected] 2 points 11 months ago

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.

[–] [email protected] 2 points 11 months ago (1 children)

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.

[–] [email protected] 1 points 11 months ago (1 children)

Well that comes down to your terminal size, you have to filter the columns if your screen is too small: docs

flatpak --columns="app" list
[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

Sure, it's possible. I can also use flatpak list -d to show everything. But the combination of these defaults is just fucked up UX (require the full id for certain operations, but don't always show the full id by default).

[–] [email protected] 1 points 11 months ago

Yeah honestly they could have avoided putting Branch, Origin and Installation if there isn't enough space available.
The CLI definitely needs some polishing, not to mention flatpak update breaking horrendously on scrollback

[–] [email protected] 1 points 11 months ago
ln -s /var/lib/flatpak/exports/bin/org.mozilla.firefox ~/.local/bin/firefox
[–] [email protected] 0 points 11 months ago* (last edited 11 months ago)

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.