this post was submitted on 31 Mar 2024
416 points (97.1% liked)

Linux

48715 readers
1885 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 29 points 9 months ago* (last edited 9 months ago) (3 children)

I've heard all the arguments about how these new packaging formats are supposed to make things easy for developers and for users with different use cases than my own (apparently), but I will continue to avoid them until they have further matured. I'm relieved that this is still possible.

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

The idea is good I think but the implementation has only ever caused me problems and seems to have a bunch of frustrating edge cases.

[–] [email protected] 6 points 9 months ago* (last edited 9 months ago) (1 children)

I've been using snaps for a few years now and while they still could use some improvements, the snaps I'm currently using seem to be fairly indistinguishable from deb-based packaging thanks to bug fixes they have done over the years. I think the idea of containerized applications is a good one, I think it actually can be safer. Performance is also fine for me with snap applications even like Firefox snap startup speed, although I'm using an R9 5900x and Gen 4 M2 NVMe SSD so maybe that's why, or maybe they really have improved the snap software and it is just as fast now for the most part.

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

I've had to swap Firefox on my laptop for the deb package, the snap took like 5sec to open, whereas the deb opens instantly. Other than that, i don't see much of a difference, but i run into sandboxing issues quite often (same with flatpak though)

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

I had a "Save As" issue in Firefox snap where it just wouldn't be able to save pages, but since upgrading to either Ubuntu 20.04 or 22.04 (can't remember which version fixed it), that problem has gone away entirely.

[–] [email protected] 4 points 8 months ago

The problem for me is portability. Flatpak, Snap, Appimage, docker, podman, lxc, they all do the same thing, but they’re splitting the market into “servers” and “desktops”.

We need a portable container runtime we can build from a compose file, run cli or gui apps, and migrate to a server with web app capability displaying the UI. There are too many build targets, and too much virtual market segmentation.

Nix tries to solve the issue, but the problem is you have to use Nix.

[–] [email protected] -3 points 9 months ago (1 children)

True. Actual package managers are still thousands of times superior to flat and snap.

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

That scentence makes little sense as both are using package managers that work similarly. Flatpak even uses ostree which is more advanced.

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

My thing (I'm not the guy you replied to) is all the various user-facing complaints that I tend to see in these discussions. I use a distro where I can get current versions of anything I've ever needed, and I know how to maintain my system.

As a user, even if the various alternatives are fine most of the time, without concerns about security, integration, etc - I've never read anything that would make me want the additional complication. (I say this recognizing that there are security concerns regardless of how you get your software - I'm not saying these new solutions are inherently worse in that regard.)

I suppose at some point I'll want or need to embrace flatpak/appimage/snaps, but I can't find any reason I'd do so now - it feels like it increases the number of gotchas I need to worry about when installing software without actually giving me anything I want that I don't already get with my "legacy" package manager.

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

We dont live in such a perfect world. Linux has a small marketshare for non-server software, so packaging is done by your distro.

You would need to have user-facing settings for Apparmor or SELinux to replicate what already exists with Flatpak.

Principle of least privilege.

Maybe you prefer native packages, but bubblejail or SELinux confined users are complicated as hell and both are pre-alpha in my experience.

So yes you add bloat, dependencies etc. But you also add stability, a small core system, take load of OS developers and unify the packaging efforts so that it is done by developers not packagers.

This reduces complexity a lot, as the underlying system is not as important anymore, and you can just use whatever you want. Software is separated from the OS.

Flatpak is the only good format, as explained in this talk

(Snap has no sandboxing outside of Ubuntu and is thus not portable, Appimages are inherently insecure)

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

I will check out the video, thanks! I still say you can have the aur and arch repos when you pry them from my cold, dead fingers, but I'm openminded.