Flatpak
| Flatpak | |
|---|---|
| Original author | Alexander Larsson |
| Developer | Flatpak Team[1] |
| Release | September 2015[2] |
| Stable release | |
| Written in | C |
| Operating system | Linux |
| License | LGPL-2.1-or-later[4] |
| Website | Flatpak Flathub |
| Repository | |
Flatpak (formerly xdg-app[5]) is a software packaging and deployment system made for Linux. It provides a sandbox environment in which users can run application software, or “apps”, in isolation from the rest of the system.[6][7] Flatpak also enables developers to push updates directly to users, without having to package and test the application separately for each distribution.[8]
Functionality
[edit]Installation
[edit]Flatpak applications can be installed either system-wide or user-wide. This means that a user is able to install any flatpak application, even without any admin privileges.[9]
Users can also install Flatpak applications directly from source, instead of installing from flatpak repositories. They can install .flatpak files, which are single-file bundles, .flatpakref files, which are application descriptions, and OCI images.[10]
Configurable sandbox
[edit]Applications using Flatpak are sandboxed, meaning they need permissions to access resources such as sound (via PipeWire), network, and files. The default permissions that the Flatpak application use are configured by the maintainers of the Flatpak, and they can be overridden by users on their system.[11][12]
Because Flatpak runs in a sandbox, which provides a separate ABI-stable version of common system libraries and operating system interfaces[13], it uses more space on the system than common native packages. To solve this, Flatpak uses OSTree, which 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.[14]
Repositories
[edit]Flathub, a centralized repository (or remote source in the Flatpak terminology), is the de facto standard for installing Flatpak applications.[15] Packages are contributed by both Flathub administrators and application developers. To get into Flathub, the applications must meet Flathub's requirements. Administrators can prevent applications from being merged into Flathub at any point during or after the submission and review process.[16]
Applications can be verified when Flathub administrators confirm that an application's ID is owned by the developer or an authorized party. On the Flathub website, there will be a blue tick on the application's page if it is verified.[17][18]
Users can add their own remotes; the Flatpak documentations recommends users to use .flatpakrepo files, which contain details about the remote and its GPG key. Users can also host their own Flatpak repositories that are independent of Flathub.[19][20][21]
By January of 2024, Flathub had over 2,400 apps, 850 of which were verified. Flathub had more than a million users and 1.6 billion downloads. Cassidy James Blaede attributed this to the adoption of Flatpak by well-known companies and Linux distributions, and the newly made verification system.[22]
Support
[edit]Other than a few edge cases, Flatpak apps can be installed on any 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.[23]
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.
- ↑ "Release 1.18.4". 28 September 2026. Retrieved 29 September 2026.
- ↑ "COPYING". GitHub. 31 March 2015. Archived from the original on 2021-10-26. Retrieved 2021-10-14.
- ↑ Larsson, Alexander (9 May 2016). "Renamed to flatpak in git". freedesktop.org. Archived from the original on 24 June 2016. Retrieved 1 June 2016.
- ↑ 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, Alex (21 August 2018). "Kick-starting the revolution 1.0". Retrieved 14 April 2020.
{{cite web}}: CS1 maint: deprecated archival service (link) - ↑ "User vs system install | Flathub Documentation". docs.flathub.org. Retrieved 2026-11-01.
- ↑ "Flatpak Command Reference". Flatpak. Retrieved 2026-11-01.
- ↑ "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.
- ↑ Brodkin, Jon (2016-06-21). "Linux's RPM/deb split could be replaced by Flatpak vs. snap". Ars Technica. Retrieved 2026-05-08.
- ↑ 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, archived from the original on 2024-02-05, retrieved 2024-02-05
- ↑ "Verification | Flathub Documentation". docs.flathub.org. Retrieved 2026-11-01.
- ↑ "Verified apps | Flathub Documentation". docs.flathub.org. Retrieved 2026-11-01.
- ↑ "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.
- ↑ "Over One Million Active Users, and Growing | Flathub Documentation". docs.flathub.org. 2024-01-26. Retrieved 2026-11-01.
- ↑ "Chrome OS Quick Setup". Archived from the original on 2020-08-02. Retrieved 2020-07-22.
External links
[edit]
Media related to Flatpak at Wikimedia Commons