this post was submitted on 20 Jun 2025
57 points (98.3% liked)
Linux
8120 readers
565 users here now
A community for everything relating to the GNU/Linux operating system
Also check out:
Original icon base courtesy of [email protected] and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I’m very, very late to the party. Why is Flatpak the latest shit? What’s wrong with the classic *.deb viz. *.rpm distribution?
It fulfills a different purpose than system packages. First, it can be run without privileges/system modification, so it works on immutable distributions. Second, it doesn't share libraries between apps (with some exceptions) or the system, so you don't have to package separately for each. It essentially takes some of the container philosophy/tech and brings it to desktop apps. This also gives it some ability to do some sandboxing that isn't as easy with system installed apps.
This approach comes with some downsides. Particularly larger storage requirement for apps, sometimes less integration with the system, and lack of ability for apps to easily call/interact each other unless they're packaged together.
It's meant for complete GUI apps and not small tools/packages that are the standard in system package managers
I think it has containerization benefits as well. Apps can't access other apps. I'd assume permissions for camera and gps are better as well.
But that's just what I've picked up unverified.
Yeah. It has easier sandboxing. You can accomplish most of the same things with traditional packages with something like apparmour, but flatpak has motivated the development of portals which allows apps to request permissions on the fly more easily.