Linux: flatpak vs apt / apt get
-
I try to learn what I can and see if what I know is wrong or, at least mostly correct.
My brother has created his own script to install some applications on Linux using ‘’’flatpak’’’, where I have done ‘’’apt / apt get’’’
I am trying to gain a better understanding of why you might one over the other.
I am posting this as I read doc.flatpak.org.
-
@gjacobse The biggest difference between the two in actual usage for myself is that flatpack is available across all common distributions that I use. So all the distributions based on Debian, Ubuntu and RedHat would all work with flatpack.
I still prefer to use the native tool set when available, but flatpack does come in handy when it has a newer version or the native packages have issues.
-
I almost always use the native tools FlatPak is heavier and CAN have interaction problems with the OS and you are 100% dependent on the packager for updates.
APT relies on the OS components for patching and updates mostly. If the APT REPO is from the OS vendor, they maintain patching and compatibility for you. If a third party repo, the job is split between the OS vendor and the package manager.
-
APT is old-school, system-level, and tight. Flatpak is modern, sandboxed, and chunky.