Flatpak: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m →‎Features: add anchor
m better image caption
Line 43: Line 43:
| website = {{URL|https://flatpak.org}}
| website = {{URL|https://flatpak.org}}
}}
}}
[[Image:Flathub-badge-en.svg|thumb|[https://flathub.org/ https://flathub.org/]]]
[[Image:Flathub-badge-en.svg|thumb|Badge for apps on [https://flathub.org/ Flathub (see below)]]]


'''Flatpak''', formerly known as [[Freedesktop.org|xdg]]-app,<ref>{{cite web |last=Larsson |first=Alexander |date=9 May 2016 |title=Renamed to flatpak in git |url=https://lists.freedesktop.org/archives/xdg-app/2016-May/000204.html |access-date=1 June 2016 |website=freedesktop.org |archive-date=24 June 2016 |archive-url=https://web.archive.org/web/20160624100628/https://lists.freedesktop.org/archives/xdg-app/2016-May/000204.html |url-status=live }}</ref> is a [[software utility|utility]] for [[software deployment]] and [[package management]] for [[Linux]]. It is advertised as offering a [[Sandbox (computer security)|sandbox]] environment in which users can run [[application software]] in isolation from the rest of the system.<ref>{{cite web |url=https://blogs.gnome.org/alexl/2016/04/29/using-bubblewrap-in-xdg-app/ |title=Using bubblewrap in xdg-app |date=29 April 2016 |website=Alexander Larsson: Cool links and commentary |publisher=GNOME |first=Alexander |last=Larsson |access-date=8 January 2016 |archive-date=14 May 2019 |archive-url=https://web.archive.org/web/20190514162204/https://blogs.gnome.org/alexl/2016/04/29/using-bubblewrap-in-xdg-app/ |url-status=live }}</ref><ref name="lwn-app-sandbox-revisited">{{cite news | last=Willis | first=Nathan | date=2015-01-21 | title=GNOME and application sandboxing revisited | url=https://lwn.net/Articles/630216/ | newspaper=LWN | access-date=2016-01-03 | archive-url=https://web.archive.org/web/20181125040209/https://lwn.net/Articles/630216/ | archive-date=2018-11-25 | url-status=dead }}</ref>
'''Flatpak''', formerly known as [[Freedesktop.org|xdg]]-app,<ref>{{cite web |last=Larsson |first=Alexander |date=9 May 2016 |title=Renamed to flatpak in git |url=https://lists.freedesktop.org/archives/xdg-app/2016-May/000204.html |access-date=1 June 2016 |website=freedesktop.org |archive-date=24 June 2016 |archive-url=https://web.archive.org/web/20160624100628/https://lists.freedesktop.org/archives/xdg-app/2016-May/000204.html |url-status=live }}</ref> is a [[software utility|utility]] for [[software deployment]] and [[package management]] for [[Linux]]. It is advertised as offering a [[Sandbox (computer security)|sandbox]] environment in which users can run [[application software]] in isolation from the rest of the system.<ref>{{cite web |url=https://blogs.gnome.org/alexl/2016/04/29/using-bubblewrap-in-xdg-app/ |title=Using bubblewrap in xdg-app |date=29 April 2016 |website=Alexander Larsson: Cool links and commentary |publisher=GNOME |first=Alexander |last=Larsson |access-date=8 January 2016 |archive-date=14 May 2019 |archive-url=https://web.archive.org/web/20190514162204/https://blogs.gnome.org/alexl/2016/04/29/using-bubblewrap-in-xdg-app/ |url-status=live }}</ref><ref name="lwn-app-sandbox-revisited">{{cite news | last=Willis | first=Nathan | date=2015-01-21 | title=GNOME and application sandboxing revisited | url=https://lwn.net/Articles/630216/ | newspaper=LWN | access-date=2016-01-03 | archive-url=https://web.archive.org/web/20181125040209/https://lwn.net/Articles/630216/ | archive-date=2018-11-25 | url-status=dead }}</ref>

Revision as of 04:47, 2 February 2024

Flatpak
Original author(s)Alexander Larsson
Developer(s)Flatpak Team[1]
Initial releaseSeptember 2015; 8 years ago (2015-09)[2]
Stable release
1.14.7[3] Edit this on Wikidata / 29 April 2024; 21 days ago (29 April 2024)
Repository
Written inC
Operating systemLinux
LicenseLGPL-2.1-or-later[4]
Websiteflatpak.org
Badge for apps on Flathub (see below)

Flatpak, formerly known as xdg-app,[5] is a utility for software deployment and package management for Linux. It is advertised as offering a sandbox environment in which users can run application software in isolation from the rest of the system.[6][7]

Features

Applications using Flatpak need permissions to have access to 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 is that it allows application developers to directly provide updates to users without going through distributions, and without having to package and test the application separately for each distribution.[10]

Flathub, a repository (or remote source in the Flatpak terminology) located at flathub.org, has become the de facto standard for getting applications packaged with Flatpak.[11] Packages are added to it by both the Flathub administrators and the developers of the programs themselves (though the admins have stated their preference for developer-submitted apps).[12] 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.[13][14][15]

Flatpak runs in a sandbox (which provides a separate, ABI-stable version of all common system libraries), and that means that it will always use more space on the system than common native packages. However, Flatpak uses OSTree as its backend which can deduplicate matching files. This means that the first install of a Flatpak application will always take up more space at first, but will be more efficient as the user installs more Flatpak packages.[16]

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.[17]

See also

References

  1. ^ "About". Archived from the original on 2023-07-14. Retrieved 2022-04-08.
  2. ^ "Flatpak's History". GitHub. Archived from the original on 2022-04-10. Retrieved 2018-08-19.
  3. ^ "1.14.7". 29 April 2024. Retrieved 30 April 2024.
  4. ^ "COPYING". GitHub. 31 March 2015. Archived from the original on 2021-10-26. Retrieved 2021-10-14.
  5. ^ Larsson, Alexander (9 May 2016). "Renamed to flatpak in git". freedesktop.org. Archived from the original on 24 June 2016. Retrieved 1 June 2016.
  6. ^ 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.
  7. ^ Willis, Nathan (2015-01-21). "GNOME and application sandboxing revisited". LWN. Archived from the original on 2018-11-25. Retrieved 2016-01-03.
  8. ^ "Sandbox Permissions". Flatpak documentation. Archived from the original on 2019-06-20. Retrieved 2019-06-24.
  9. ^ "flatpak-run". Flatpak documentation. Archived from the original on 2019-06-26. Retrieved 2019-06-24.
  10. ^ Larsson, Alex. "Kick-starting the revolution 1.0". Archived from the original on 19 December 2021. Retrieved 14 April 2020.
  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.
  12. ^ GitHub - flathub/flathub: Pull requests for new applications to be added., Flathub, 2019-05-24, archived from the original on 2019-08-09, retrieved 2019-05-29
  13. ^ "List remotes". Flatpak documentation. Archived from the original on 2019-07-06. Retrieved 2019-06-24.
  14. ^ "Hosting a Repository". Archived from the original on 18 February 2020. Retrieved 14 April 2020.
  15. ^ "Reasons to use Flatpak". Flatpak documentation. Archived from the original on 2019-06-17. Retrieved 2019-06-24.
  16. ^ TheEvilSkeleton (2022-05-16). "Response to "Flatpak Is Not the Future"". TheEvilSkeleton. Archived from the original on 2023-02-11. Retrieved 2023-02-11.
  17. ^ "Chrome OS Quick Setup". Archived from the original on 2020-08-02. Retrieved 2020-07-22.