Comparative analysis of package managers Flatpak and Snap used for open-source software distribution
Grzegorz Jan Cichocki
grzegorz.cichocki@pollub.edu.plLublin University of Technology (Poland)
Sławomir Wojciech Przyłucki
Lublin University of Technology (Poland)
Abstract
This article presents the result of a research of the Flatpak and Snap package managers used to distribute open-source software on Linux systems. Both package managers are characterised by their versatility and implementation of sandboxing. As part of the research, a test application was prepared, which was built in the Flatpak and Snap formats and published in the official software repositories, where for Flatpak it is Flathub and for Snap it is the Snap Store. The prepared application was first used to test and compare the implementation of sandboxing rules. This was followed by tests of RAM usage and start-up time by the application installed in both formats. The result of the research is an analysis of the measurement results and the drawing of conclusions.
Keywords:
Flatpak, Snap, package manager, open-source, application performanceReferences
Aplikacja Tabela w centralnym repozytorium Flathub, https://flathub.org/pl/apps/eu.cichy1173.tabela, [07.09.2023].
Google Scholar
Aplikacja Tabela w centralnym repozytorium Snap Store, https://snapcraft.io/tabela, [07.09.2023].
Google Scholar
Repozytorium zawierające kod źródłowy aplikacji Tabela, https://codeberg.org/cichy1173/tabela-flatpak, [16.09.2023].
Google Scholar
Repozytorium zawierające plik manifestu dla sklepu z aplikacjami Flathub, https://github.com/flathub/eu.cichy1173.tabela, [16.09.2023].
Google Scholar
Repozytorium zawierające plik manifestu dla sklepu z aplikacjami Snap Store, https://codeberg.org/cichy1173/Tabela, [16.09.2023].
Google Scholar
D. Spinellis, Package Management Systems, IEEE Computer Society 29 (2012) 84-86, https://doi.org/10.1109/MS.2012.38.
DOI: https://doi.org/10.1109/MS.2012.38
Google Scholar
P. Abate, R. Di Cosmo, R. Treinen, S. Zacchiroli, A modular package manager architecture, Information and Software Technology 55 (2012) 459-474, https://doi.org/10.1016/j.infsof.2012.09.002.
DOI: https://doi.org/10.1016/j.infsof.2012.09.002
Google Scholar
A. Athalye, R. Hristov, T. Nguyen, Q. Nguyen, Package Manager Security, project report, Massachusetts Institute of Technology (2014).
Google Scholar
E. Kokot, Distribution-agnostic package management on Linux with Flatpak, thesis, University of Ljubljana (2022).
Google Scholar
N. Fraser, Flatpak is Not the Future, https://ludocode.com/blog/flatpak-is-not-the-future, [07.09.2023].
Google Scholar
H. Rana, Response to "Flatpak Is Not the Future", https://theevilskeleton.gitlab.io/2022/05/16/response-to-flatpak-is-not-the-future.html, [07.09.2023].
Google Scholar
T. Dunlap, W. Enck, B. Reaves, A Study of Application Sandbox Policies in Linux, Proceedings of the 27th ACM on Symposium on Access Control Models and Technologies, (2022) 19-30.
DOI: https://doi.org/10.1145/3532105.3535016
Google Scholar
Uruchamianie aplikacji Snap, https://www.omgubuntu.co.uk/2019/03/the-cause-of-slow-snap-app-startup-times-has-been-identified, [07.09.2023].
Google Scholar
Authors
Grzegorz Jan Cichockigrzegorz.cichocki@pollub.edu.pl
Lublin University of Technology Poland
Authors
Sławomir Wojciech PrzyłuckiLublin University of Technology Poland
Statistics
Abstract views: 288PDF downloads: 149
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.