Flatpak
Example of installing Krita from Flathub with Flatpak | |
Original author(s) | Alexander Larsson |
---|---|
Developer(s) | Flatpak Team[1] |
Initial release | September 2015; 9 years ago (2015-09)[2] |
Stable release | |
Repository | |
Written in | C |
Operating system | Linux |
License | LGPL-2.1-or-later [4] |
Website | flatpak |
Flatpak is a utility for software deployment and package management for Linux. It provides a sandbox environment in which users can run application software in (partial) isolation from the rest of the system.[5] [6] Flatpak was known as xdg-app until 2016.[7]
Features
[edit ]Applications using Flatpak need permissions to access resources such as Bluetooth, sound (with PulseAudio), network, and files. These permissions are configured by the maintainer of the Flatpak and can be added or removed by users on their system.[8] [9]
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.[10]
Because Flatpak runs in a sandbox (which provides a separate, ABI-stable version of common system libraries), 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, a repository (or remote source in the Flatpak terminology) located at flathub.org
, is the de facto standard for getting applications packaged with Flatpak.[12] Packages are contributed by both Flathub administrators and application developers, with a stated preference for submissions from the developers themselves.[13] 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.[14] [15] [16]
Support
[edit ]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.[17]
See also
[edit ]References
[edit ]- ^ "About". Archived from the original on 2023年07月14日. Retrieved 2022年04月08日.
- ^ "Flatpak's History". GitHub. Archived from the original on 2022年04月10日. Retrieved 2018年08月19日.
- ^ "1.16.0". 9 January 2025. Retrieved 10 January 2025.
- ^ "COPYING". GitHub . 31 March 2015. Archived from the original on 2021年10月26日. Retrieved 2021年10月14日.
- ^ Larsson, Alexander (29 April 2016). "Using bubblewrap in xdg-app". Alexander Larsson: Cool links and commentary. GNOME. Archived from the original on 14 May 2019. Retrieved 8 January 2016.
- ^ Willis, Nathan (2015年01月21日). "GNOME and application sandboxing revisited". LWN. Archived from the original on 2018年11月25日. Retrieved 2016年01月03日.
- ^ Larsson, Alexander (9 May 2016). "Renamed to flatpak in git". freedesktop.org. Archived from the original on 24 June 2016. Retrieved 1 June 2016.
- ^ "Sandbox Permissions". Flatpak documentation. Archived from the original on 2019年06月20日. Retrieved 2019年06月24日.
- ^ "flatpak-run". Flatpak documentation. Archived from the original on 2019年06月26日. Retrieved 2019年06月24日.
- ^ Larsson, Alex (21 August 2018). "Kick-starting the revolution 1.0". Archived from the original on 19 December 2021. Retrieved 14 April 2020.
- ^ TheEvilSkeleton (2022年05月16日). "Response to "Flatpak Is Not the Future"". TheEvilSkeleton. Archived from the original on 2023年02月11日. Retrieved 2023年02月11日.
- ^ "7 Flatpak Apps You Can Install Right Now from Flathub". OMG! Ubuntu!. 2017年07月20日. Archived from the original on 2019年05月29日. Retrieved 2019年05月29日.
- ^ Submission - Flathub Documentation., Flathub, 2024年02月05日, retrieved 2024年02月05日
- ^ "List remotes". Flatpak documentation. Archived from the original on 2019年07月06日. Retrieved 2019年06月24日.
- ^ "Hosting a Repository". Archived from the original on 18 February 2020. Retrieved 14 April 2020.
- ^ "Reasons to use Flatpak". Flatpak documentation. Archived from the original on 2019年06月17日. Retrieved 2019年06月24日.
- ^ "Chrome OS Quick Setup". Archived from the original on 2020年08月02日. Retrieved 2020年07月22日.