Snapcraft - Snaps are universal Linux packages
snapcraft.io
external-link
Snaps are containerised software packages that are simple to create and install. They auto-update and are safe to run. And because they bundle their dependencies, they work on all major Linux systems without modification.
@Echedenyan
admin
link
fedilink
1617d

I don’t use it because it has a nonFree server side and is centralized.

@AgreeableLandscape
mod
admin
link
fedilink
3
edit-2
16d

The server side is proprietary? Like, do you mean the snapcraft.io thing or the package server? I thought Snaps worked off the same “alphabetical nested folder being hosted as an open directory with a text file for the index” system that most package managers used. In fact isn’t it pretty easy to go into the client and change where it downloads packages from?

@Echedenyan
admin
link
fedilink
516d

The first, the package server was already clarified in a post made by cannonical but still their server is propietary.

@AgreeableLandscape
mod
admin
link
fedilink
116d

Damn. Another reason to not to use 'em then

Arthur Besse
link
fedilink
3
edit-2
16d

the server software is non-free. iiuc it would be easy enough to reverse engineer the protocol from the client software (which is free software) but (last I checked, anyway) the server URLs are not configurable so you would actually need to patch and recompile the client to use a different server.

This I didn’t know

@kixik
link
fedilink
9
edit-2
16d

In general, I don’t like the idea of having flatpak, snapcraft and appimage, packages. First, and this is different between them, but in the end they all suffer the same one way or another, there are huge binary dependencies blobs, whether coming with the same app, or having to be installed from the package provider. At some point I tried to install Liri from Flatpak, and it was a nightmare of things having to be installed, when I already had most things natively built by the distro I used.

As opposed to opinions from Linus himself, I prefer SW to be built from the same system libraries and dependencies, rather than each app coming along with their own set of binary dependencies. Getting GNU/Linux to behave like MS-Win, where you can install whatever binary, from whatever source, and perhaps even duplicating a bunch of stuff you already have on your system is crazy. One thing that gets solves easier, when having contained apps, is when depending on same things but from different versions, and that to me is not ideal either. To me, as done by distros, one should avoid as much as possible having different versions of same SW, but if in need, then rename one including the version as part of the name, or something, but mainly avoid having a bunch the same thing with multiple versions all over. Guix handles that more elegantly of course, but I haven’t had the time, neither the guts to go for Guix yet (still in my ist of pending stuff).

The other thing, is that although now a days everything comes with a signature to check, on distros provided packages, which are built from source, besides minimizing the amount of stuff needed, one can always look at how the packages are built (arch and derivatives through the PKGBUILs and companions), tweak and build oneself (eg, currently fluxbox head of master, and from a while back, doesn’t play nice with lxqt, then with the help of fluxbox devs I found the culprit commit, revert it, and still apply the same distro recipe with my own patch, and moved on). No matter being signed, binary packages are not as flexible, that besides the fact several just proprietary, and one might not even be aware, since the move is to be more MS-Win like, even with auto updates and such…

Building having in mind minimal systems and ecosystems, and have mostly free/libre or at least open source SW, makes thing much better for me. One can end up with bloated huge systems, if wanted, but at least not with bunch of duplicates unnecessarily.

Agree with other comments. I used to recommend Ubuntu otherwise (though I don’t use it personally) but refrain now. Would just as soon recommend Debian or Linux Mint now.

The arrogance of installing the snap of Firefox even when you try to do it via cli irks me to no end.

@AgreeableLandscape
mod
admin
link
fedilink
416d

I consider Pop OS the de-bullshitted version of Ubuntu.

Would just as soon recommend Debian or Linux Mint now.

KDE Neon also doesn’t have a snap Firefox, it comes out of the box with a Mozilla PPA Firefox (despite being Ubuntu based).

@zksmk @timbuck2themoon You can still install a snap Firefox if that’s what you really want, or a Flatpak

Ji Fu
link
fedilink
117d

@linux what’s wrong with just using whatever browser is in your repo?

Arthur Besse
link
fedilink
10
edit-2
17d

I’m unsurprised to see lots of good reasons here why not to use them already, and none for why anyone does :)

I imagine the vast majority of snap users are using them only because Ubuntu ships a few things (like firefox) as snaps by default now.

I tried the Inkscape snap recently on an ubuntu system where i needed the latest release, and found that due to its sandboxing security theater (last I heard it is still not difficult break out…) it is impossible to open files from the commandline. And, even worse, when you use the Open command from File menu, it just passes the one file you selected in to the sandbox, so, when you open a file which has references to other files (which is not uncommon with SVG) it is not able to load them! So, I ended up using Inkscape’s AppImage instead.

@OsrsNeedsF2P
link
fedilink
4
edit-2
16d

The sandboxing issue is actually an important one that is being figured out at the xdg-protocol level. It affects Snaps, Flatpak, and any future goal of being able to run user-space apps in an environment more like Android or iOS, where it prompts a permission asking to access certain files/folders/cameras/etc on your device.

(If you don’t like that idea, don’t worry I’m sure you’re not alone and there will always be distros that follow the current status quo of “give everything”, but it’s a cool feature to have)

Arthur Besse
link
fedilink
216d

yeah, I am aware, and I do actually think the xdg portal stuff is generally a good idea for a lot of programs… but the way it works right now sacrifices a lot of usability and doesn’t gain much security.

passing files given as commandline arguments seems like an easy problem to solve, but the linked file situation with SVG is much harder (probably requires a whole new flow for xdg portals where a program can request access to a bunch of files and prompt the user once to allow access to all of them). in the absence of any solution, imo it is silly that they’re shipping inkscape as a snap with strict confinement today.

LPWaterhouse
link
fedilink
916d

I avoid them like the plague. I don’t want to add another installation method (one of GNU/Linux’ advantages has always been the “exactly one way to install”, instead of dozens of different installers). I don’t want something that not only disobeys XDG (The only Poettering-thing I approve of…), but clutters my home with a visible folder, that happens to contain nothing I ever need to access.

visnudeva
link
fedilink
8
edit-2
16d

I love to have a clean PC, so if everything was flatpack or snaps I would use it but as it is not the case I only use the traditional way of installing apps. But it is a great way for the developpers to share their apps universally on any Linux distro.

SudoDnfDashY
link
fedilink
816d

They’re slow, and I don’t need them.

Snaps are typically insanely slower than anything else. Flatpak on the other hand tend to have zero latency issues and run nearly as fast and efficient as a native proper install. I’ve had nothing but strange security issues Snaps in comparison to Flatpak.

How do they actually differ? I tend to group them as the same thing, as I’m not a user of either.

Helix 🧬
link
fedilink
416d

Snap uses a server while flatpak just runs regular binaries in a sandboxed environment.

@AgreeableLandscape
mod
admin
link
fedilink
8
edit-2
16d

Biggest issue: Free and nonfree packages in the same repository. If you’re on the command line, you have no idea which is which. Goes against the principles of free software. For me to even consider using a package manager it better not have nonfree packages by default, you should need to issue a command to activate a completely separate nonfree repository (so I can avoid that command like the plague), you know, like how apt, dnf, pacman etc do it?

@OsrsNeedsF2P
link
fedilink
8
edit-2
17d

They broadcast all their notifications with priority set to 0, which overrides Do Not Disturb and custom notification filter settings.

Put less kindly, the developers are arrogant fucks. This reason alone is enough for me to package apps on Flathub.org.

(Play Runescape? Check out the 2009 emulation available as a Flatpak!)

JoYo
link
fedilink
617d

oh ok I thought it was just kde that wouldn’t let me mute the alerts. I couldn’t care less if ff needs to be updated, I’m not rebooting my computer. thanks for reinventing windows updates.

Kromonos
link
fedilink
616d

I prefer distro packages, because they don’t need to install dependencies, which are already installed. But for testing out a program or in need of several versions of one and the same one, it’s a great deal.
But even for testing or running multiple versions, AppImage is the better solution, in my opinion.

@katve
link
fedilink
616d

I use distro repos or flatpak.

@OptimusPrime I never liked how centralized the Snap store was. Would’ve preferred to allow users to configure different repositories. They’re also slow and not great for security. I have used snaps a few times, when that’s the only way to get a piece of software short of compiling it, but I don’t have snapd installed right now because everything I need has a Flatpak.

@sproid
link
fedilink
516d

Because snaps are slower than flatpak per my experience. Also there is already many other ways to install software and why bother making things complicated, specially if the community already have a favorite. To install apps I chose distro_repo>flatpak> AUR≈Snaps≈appimage. This because it depends how the app behaves, its limitations and ease of update with everything else.

@OptimusPrime
creator
link
fedilink
517d

I remember Linux Mint disabled them because they were a security risk or something like that. So I haven’t used them.

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

  • 0 users online
  • 2 users / day
  • 15 users / week
  • 71 users / month
  • 255 users / 6 months
  • 6.27K subscribers
  • 1.88K Posts
  • 5.41K Comments
  • Modlog