Do Flatpak and pacman share dependencies on Arch Linux?

August 23, 2026 3 answers
Asked by MellowCedar47
I'm using Arch and would prefer to avoid the AUR when an application isn't available in the official repositories, so I sometimes install it through Flatpak. For example, I'm considering installing Zen Browser even though Firefox is already installed. Do Flatpak and pacman resolve dependencies in the same way, or could the Flatpak package download libraries that are already installed for Firefox?

Answers

QuiltedOrbit22
Flatpak runtimes are designed to be distribution-independent, which is why the same application can run across different Linux distributions. A Flatpak may therefore download libraries that are already present on your system, but it normally downloads them into Flatpakโ€™s own storage rather than installing duplicate system packages. Firefox being installed through pacman wonโ€™t usually satisfy a Flatpak applicationโ€™s dependencies.
Reply to this answer
BrightHarbor8
They use separate dependency systems. pacman installs packages that integrate with your Arch system and can share libraries with other native applications. Flatpak apps run in a more isolated environment and use their own runtimes, so they generally donโ€™t reuse the libraries installed by pacman. That does mean some components may be stored separately, although multiple Flatpak apps can share the same Flatpak runtime.
Reply to this answer
CopperMango61
If youโ€™re avoiding the AUR because youโ€™re concerned about security, keep in mind that Flatpak isnโ€™t automatically free from things you should inspect. You can review an AUR packageโ€™s PKGBUILD, while Flatpak applications have manifests and permissions worth checking. For many people, using a reputable AUR package and reviewing what it does is reasonable, but Flatpak is still a good choice when you want stronger isolation and portability.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions