Google Engineers Experimenting With Flatpak Packaging For Chrome/Chromium
Google engineers are experimenting with Flatpak packaging for the Chrome/Chromium web browser on Linux. This is a testing phase and not a commitment to officially support Flatpak packages.
Intelligence analysis by Llama
Google's browser team is exploring the option of using Flatpak packaging for Chrome/Chromium on Linux. This could improve the browser's support outside of RPM and Debian-based distributions.
Imagine you have a special box that keeps your computer's programs safe and separate from each other. This is called sandboxing. Google is trying to make it easier to use this special box for their Chrome browser on Linux computers.
Analysis
Experimental Flatpak Packaging Support Added To Chrome Installer
Google engineers responsible for the Chrome/Chromium web browser are experimenting with Flatpak packaging on Linux. They aren't yet committed to officially supporting Flatpak packages but for now are at least exploring the option.
Tom Anderson of Google's browser team today landed the experimental Flatpak packaging support for testing. In the merge it explains the current testing intent without yet having any definitive plans to officially support it:
Add experimental Flatpak packaging in chrome/installer/linux to facilitate testing restricted sandboxing configurations and extending existing XDG portal support. This is not a commitment to officially support Flatpak packages.
Create chrome/installer/linux/flatpak/ with packaging scripts and templates for metadata, AppStream metainfo, and launcher entrypoint.
Add enable_flatpak GN build argument (default false).
Add package_format to InstallerConfig and omit host desktop integration artifacts (system desktop files, /usr/bin symlinks, AppStream appdata, GNOME default apps, manpages, and AppArmor profiles) when packaging for Flatpak.
Update common/installer.py with Flatpak configuration and App ID mapping for Chromium (org.chromium.Chromium*) and Google Chrome (com.google.Chrome*).
Generalize common/desktop.template to support both Flatpak and system-wide desktop execution commands.
Disable setuid sandbox and zlib compression for non-official builds.
Update BUILD.gn with flatpak packaging targets and aliases.
An exciting development for this Linux app sandboxing and distribution tech. This would also help improve Google Chrome/Chromium support outside the likes of RPM and Debian based distributions with a cleaner packaging experience.
The testing code is merged and hopefully it ultimately proves well enough for Google to officially support Flatpak for Chrome.
Key points
- Google engineers are experimenting with Flatpak packaging for Chrome/Chromium on Linux.
- This is a testing phase and not a commitment to officially support Flatpak packages.
- The testing code is merged and hopefully it ultimately proves well enough for Google to officially support Flatpak for Chrome.
If Google officially supports Flatpak packaging for Chrome/Chromium, it could make it easier for users to install and manage the browser on various Linux distributions.
However, if the testing phase fails to prove successful, it could mean that Google will not officially support Flatpak packaging for Chrome/Chromium, potentially limiting its adoption on Linux.
