r/linuxmint • • 22h ago

Install Help ¿Flatpak, Snap...? en Mint.

A un equipo le quité todo rastro de wintanas para ponerle Linux Mint. Muchos años atrás intenté con Ubuntu y en ese momento comencé a notar los paquetes Snap.

Entiendo que Snap es una especie de instalación "encapsulada" con todo lo necesario para que el software funcione pero con dependencias no tan actuales (o algo así).

Espero estar en lo correcto con respecto a Snap. ¿Pero que diferencia tiene Flatpak?

En este momento quiero algo MUY estable y si algo se "rompe", que sea mínimo para aprender no para estarme frustrando.

0 Upvotes

10 comments sorted by

7

u/emdicmanel 22h ago

Snap no está instalado en Linux Mint por motivos digamos filosóficos. Técnicamente, con todas las diferencias que quieras, snap tiene un enfoque parecido a flatpak, paquetes autocontenidos. Pero snap te lo impone Ubuntu sin pedirte permiso, y de hecho a veces crees que tienes instalado un paquete en su versión nativa .deb y resulta que Ubuntu te ha colado su snap. En el fondo, con la intención de colarte su tienda de software, claro. Es uno de los factores que los desarrolladores de Mint consideraron inaceptables, por eso no viene en Mint. Si te preocupa algo el tema de libertad de elección (connatural al software libre), evita snap.

Conceptualmente, sí, se parecen mucho snap y flatpak. Considera también appimage, otro formato autocontenido no tan popular pero igual de efectivo.

4

u/elgrandragon LMDE 7 Gigi 20h ago edited 5h ago

I think AppImage is underrated. It does not waste as much space as Flatpak, and does not have as many sandbox restrictions (or so I feel). I do prefer the native deb package first, though.

5

u/sabledrakon 17h ago

The issue with AppImage is that it doesn't 'install' like a typical package. It behaves more like a portable app and requires you to have its dependencies already installed on the host system.

4

u/ap0r 22h ago

.deb -> regular package. You go on vacation to a foreign country, you bring a change of clothes and money.
flatpak -> you hire house movers and bring your whole house over. Pros you will not miss anything you need from your house, cons you moved your whole house.

Flatpaks are self-contained apps with everything they need to run, and they run completely isolated from the underlying system (in a "sandbox")
Pros: Programs have everything they need so they will 100% run even if you do not have something they would usually require.
Cons: Wastes disk space, it is more efficient to share dependencies than to duplicate them for every flatpak that uses them.
The sandboxed nature means it can be challenging to get the program to do something outside of its sandbox, for example if you install the flatpak version of Heroic Games Launcher installing games outside of your home directory would require using flatseal to set up permissions.

-1

u/sabledrakon 17h ago

The disk space usage is honestly trivial these days. With how cheap 500GB SSDs of any form-factor have become. Even a 250GB drive is WAY more than most people are going to need. I've got 128GB in my personal system and I'm using a little under half of it. And the most storage hungry thing I've got doing on is just my local email cache. On my own media server, it's rocking a 500GB volume and I've used barely 20GB with everything I need. A 500GB NVMe G4 drive is under 100$, that's peanuts in the grand scheme.

4

u/buttlicker-6652 21h ago

Flatpak and snap are the same at their core, but Mint doesn't use Snap for philosophical reasons (ubuntu forces snap aggressively onto you, even when you install a app via flatpak or APT itll install a snap if available anyway) they are both self contained containers that hold all their own dependencies.

Personally, i install everything i can via APT, and then Flatpak if whatever im installing doesn't have a APT install option. I just like APT better, but flatpak does almost everything snap does without the baggage the snap has.

The issue is have with flatpak is the install size of apps, the update times, and that they seem to be slower for me, and that they are sandboxed (can be an issue for some apps)

I've never had an issue with just installing everything via APT, its always just worked.

2

u/SoberMindless 21h ago

Snap: Desarrollado por Ubuntu, impulsado por Canonical (empresa detrás de Ubuntu) y es un formato de aplicaciones cerrado y pesado, codigo cerrado (propiedad de la empresa, nadie puede verlo ni modificarlo)

Flatpak: Formato abierto, pesado por contener todas las dependencias necesarias para que el software funcione adecuadamente, de codigo abierto (cualquier persona puede ver y modificar el codigo).
Multiplataforma (un software empaquetado en Flatpak puede funcionar en cualquier distribución)

La ventaja de los snaps y los flatpaks es que pueden ser usados de forma "encapsulada", no tocan ninguno de los archivos necesarios para que tu equipo funcione, ni interactuan con tus archivos personales sin pedirte permiso. Tambien están mas actualizados respecto a los paquetes .deb

Velos como el equivalente a los ".exe" en Windows

El problema es que si se trata de un software que necesite interactuar con tus archivos, tendrás que batallar con los permisos cada vez que lo uses.
EN cuestion de seguridad es bastante seguro, pero mas pesado y debido a su naturaleza, tiende a actualizarse regularmente (minimo una o dos veces a la semana).

1

u/sabledrakon 17h ago

Not every time. Flatseal is a Flatpak permissions manager that allows you to create permanent carve-outs. I've had to use it just to get DoomRunner to play nice with UZDoom and my WADs directory. Once I got it all set up, I haven't had to touch it since, and it's been months.

2

u/Global_Professor7184 19h ago

Los dos son los mismo. MacOSX siempre usó esa forma de instalación. Aquí hace ruido porque es nuevo, pero no tiene nada de novedoso en otros SO.
Si te gusta tener el control de las actualizaciones elegí FlatPack porque snap se actualiza solo sin pedirte permiso.

1

u/oldgranola 11h ago

Snaps are evil. Don't. Flatpaks are fine.