Flatpak
ScreenshotFlatpak install screenshot.png
TitleFlatpak
AuthorAlexander Larsson
DeveloperFlatpak Team[1]
ReleasedSeptember 2015 (age 11)[2]
Programming languageC
Operating systemLinux
LicenseLGPL-2.1-or-later[3]
WebsiteFlatpak
Flathub

Flatpak is a utility for software deployment and package management for Linux. It provides a sandbox environment in which users can run application software, or "apps", in (partial) isolation from the rest of the system.[4][5] Flatpak was known as xdg-app until 2016.[6]

Features

Applications using Flatpak need permissions to access resources such as Bluetooth, sound (with PipeWire), network, and files. These permissions are configured by the maintainer of the Flatpak and can be added or removed by users on their system.[7][8]

Another key feature of Flatpak allows application developers to directly provide updates to users without going through Linux distributions, and without having to package and test the application separately for each distribution.[9]

Because Flatpak runs in a sandbox, which provides a separate, ABI-stable version of common system libraries and operating system interfaces[10], it uses more space on the system than common native packages. However, OSTree, a technology underlying Flatpak, deduplicates matching files. This means that the first few Flatpak installations will occupy more space, but as more packages are added, the system will use space more efficiently.[11]

Flathub

Flathub, a centralized repository (or remote source in the Flatpak terminology) located at flathub.org, is the de facto standard for obtaining applications packaged with Flatpak.[12] Packages are contributed by both Flathub administrators and application developers, with a stated preference for submissions directly from the application developers.[13] By 2023, Flathub had more than 700,000 downloads per day.[14]

Although Flathub is the de facto source for applications packaged with Flatpak, it is possible to host a Flatpak repository that is independent of Flathub.[15][16][17]

Support

Theoretically, Flatpak apps can be installed on any existing and future Linux distribution, including those installed with the Windows Subsystem for Linux compatibility layer, so long as Bubblewrap and OSTree are available.

It can also be used on Linux kernel-based systems like ChromeOS.[18]

See also

References

  1. ^ "About". Archived 2023-07-14 at the Wayback Machine. Retrieved 2022-04-08.
  2. ^ "Flatpak's History". GitHub. Archived 2022-04-10 at the Wayback Machine. Retrieved 2018-08-19.
  3. ^ "COPYING". GitHub. 31 March 2015. Archived 2021-10-26 at the Wayback Machine. Retrieved 2021-10-14.
  4. ^ Larsson, Alexander (29 April 2016). "Using bubblewrap in xdg-app". Alexander Larsson: Cool links and commentary. GNOME. Archived 14 May 2019 at the Wayback Machine. Retrieved 8 January 2016.
  5. ^ Willis, Nathan (2015-01-21). "GNOME and application sandboxing revisited". LWN. Archived from the original on 2018-11-25. Retrieved 2016-01-03.
  6. ^ Larsson, Alexander (9 May 2016). "Renamed to flatpak in git". freedesktop.org. Archived 24 June 2016 at the Wayback Machine. Retrieved 1 June 2016.
  7. ^ "Sandbox Permissions". Flatpak documentation. Archived 2019-06-20 at the Wayback Machine. Retrieved 2019-06-24.
  8. ^ "flatpak-run". Flatpak documentation. Archived 2019-06-26 at the Wayback Machine. Retrieved 2019-06-24.
  9. ^ Larsson, Alex (21 August 2018). "Kick-starting the revolution 1.0". Archived 19 December 2021 at the Wayback Machine. Retrieved 14 April 2020.
  10. ^ Brodkin, Jon (2016-06-21). "Linux’s RPM/deb split could be replaced by Flatpak vs. snap". Ars Technica. Retrieved 2026-05-08.
  11. ^ TheEvilSkeleton (2022-05-16). "Response to "Flatpak Is Not the Future"". TheEvilSkeleton. Archived 2023-02-11 at the Wayback Machine. Retrieved 2023-02-11.
  12. ^ "7 Flatpak Apps You Can Install Right Now from Flathub". OMG! Ubuntu!. 2017-07-20. Archived 2019-05-29 at the Wayback Machine. Retrieved 2019-05-29.
  13. ^ "Submission - Flathub Documentation.", Flathub, 2024-02-05, archived 2024-02-05 at the Wayback Machine, retrieved 2024-02-05
  14. ^ Wallen, Jack. "Flathub Vying to Become the Standard Linux App... » Linux Magazine". Linux Magazine. Retrieved 2026-05-08.
  15. ^ "List remotes". Flatpak documentation. Archived 2019-07-06 at the Wayback Machine. Retrieved 2019-06-24.
  16. ^ "Hosting a Repository". Archived 18 February 2020 at the Wayback Machine. Retrieved 14 April 2020.
  17. ^ "Reasons to use Flatpak". Flatpak documentation. Archived 2019-06-17 at the Wayback Machine. Retrieved 2019-06-24.
  18. ^ "Chrome OS Quick Setup". Archived 2020-08-02 at the Wayback Machine. Retrieved 2020-07-22.