Add Firefox ARM64/AArch64 option to Flathub (Flatpak)
Categories
(Release Engineering :: Release Automation, enhancement, P3)
Tracking
(firefox137 verified, firefox138 verified)
People
(Reporter: oscardomingo, Assigned: jcristau)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [qa-triaged])
Attachments
(5 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
Steps to reproduce:
On a ARM64/AArch64 based distro with flatpak and flathub installed:
flatpak install flathub org.mozilla.firefox
Actual results:
error: Nothing matches org.mozilla.firefox in remote flathub
Expected results:
Firefox for ARM64/AArch64 should be installed as a flatpak.
Comment 1•5 years ago
|
||
Hi, I'm using a yoga c630-13q50 arm64 with windows 10 to try replicate your issue.
Are you using fedora?
I will move this over to a component so developers can take a look over it. If is not the correct component please feel free to change it to an appropriate one.
Thanks for the report.
Best regards, Clara.
Reporter | ||
Comment 2•5 years ago
|
||
Hey Clara,
thanks for looking into this.
The distro when trying this is Mobian (https://gitlab.com/mobian1) (a derivative from Debian specific for the Pinephone); I opened the ticket because I believe the flatpak from flathub is managed by Mozilla: https://flathub.org/apps/details/org.mozilla.firefox
There are builds of the ESR version for Arm from the distro's package manager (https://packages.debian.org/buster/arm64/firefox-esr/download) but not the latest one, so I though it would be cool to be able to install the latest from flathub.
Hope that helps,
Cheers,
Oscar.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Mozilla doesn't publish linux arm binaries at all which is prerequisite to publish them in flatpak: https://archive.mozilla.org/pub/firefox/releases/83.0/
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Hi,
I've found a project called LibreWolf. It's based on Firefox, which I think it's relevant. They provide Flatpak packages for Aarch64: https://gitlab.com/librewolf-community/browser/linux/-/releases.
Here's their Flatpak repository: https://gitlab.com/librewolf-community/browser/flatpak.
I think if someone is willing to use their patches to make it successfully build with Aarch64, then that would be great.
Comment 6•4 years ago
|
||
+1
I'm using an ARM64-based chrome-os device and would be happy to use the non-app-version of Firefox (with all it's benefits of integrated password manager, etc.)
Comment 7•4 years ago
|
||
It is really unfortunate that there is no Firefox/ARM Flatpak. Mozilla even advertises Flatpak as a way to run Firefox on Chromebooks (see https://support.mozilla.org/en-US/kb/run-firefox-chromeos). Granted, it lists x86 on the requirements. However many Chromebooks are ARM-based.
Comment 8•4 years ago
|
||
(In reply to Emerson Bernier from comment #3)
Mozilla doesn't publish linux arm binaries at all which is prerequisite to publish them in flatpak: https://archive.mozilla.org/pub/firefox/releases/83.0/
is there bug for that? I didn't found any.
Assignee | ||
Comment 9•4 years ago
|
||
Bug 1677963 is a prerequisite for that, and is listed in this bug's dependencies.
Comment 10•4 years ago
|
||
Sorry, I have no idea how can I overlooked that. Thank you
Comment 11•2 years ago
|
||
Hi,
any update on this? I was able to install firefox via snap and librewolf via flatpak on arm64 ubuntu system. Unfortunately there are not builds for firefox dev or nightly or torbrowser.
Thank you
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Hi, any update on this topic?
It well be great to use newest Firefox on my Debian 12 arm64 system.
Thanks and Regards
Lukas
Updated•8 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Assignee | ||
Comment 13•5 months ago
|
||
Assignee | ||
Comment 14•5 months ago
|
||
Assignee | ||
Comment 15•5 months ago
|
||
Assignee | ||
Comment 16•5 months ago
|
||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Comment 17•5 months ago
|
||
Comment 18•5 months ago
|
||
bugherder |
Comment 19•4 months ago
|
||
Comment 20•4 months ago
|
||
bugherder |
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 21•4 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D239302
Updated•4 months ago
|
Comment 22•4 months ago
|
||
beta Uplift Approval Request
- User impact if declined: no arm64 flatpak until 138
- Code covered by automated testing: no
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: tested in https://mozilla-hub.atlassian.net/browse/QA-3458
- Risk associated with taking this patch: medium
- Explanation of risk level: This could potentially break the push to flathub, but 1) this task is a leaf so won't affect anything else, 2) we can't replicate this in staging so don't have a way to test it, 3) I'm thinking it's better to find out now than with 138.0b1
- String changes made/needed: none
- Is Android affected?: no
Updated•4 months ago
|
Comment 23•4 months ago
|
||
uplift |
Updated•4 months ago
|
Updated•4 months ago
|
Comment 24•4 months ago
|
||
A try build based on Beta v137.0b4 can be installed using commands:
wget https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ctMBoBE7QQyxN2m1R9dTpQ/runs/0/artifacts/public/build/target.flatpak.tar.xz
tar xf target.flatpak.tar.xz
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user --no-gpg-verify remote-add firefox-try ./repo/
flatpak --user install firefox-try org.mozilla.firefox/aarch64
It cannot be installed using the generic command "flatpak install flathub org.mozilla.firefox", which still returns the error: "error: Nothing matches org.mozilla.firefox in remote flathub".
I believe this does not count as a fix since the latest build is not available in flathub.
Julien, am I wrong? Can you explain? Thank you!
Assignee | ||
Comment 25•4 months ago
|
||
The beta builds are on flathub-beta (which you can add with flatpak --user remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
, per https://discourse.flathub.org/t/how-to-use-flathub-beta/2111). It'll be visible on the main flathub repo when 137 makes it to release.
$ flatpak remote-info flathub-beta org.mozilla.firefox/aarch64
ID: org.mozilla.firefox
Ref: app/org.mozilla.firefox/aarch64/beta
Arch: aarch64
Branch: beta
Collection: org.flathub.Beta
Download: 96.6 MB
Installed: 256.8 MB
Runtime: org.freedesktop.Platform/aarch64/24.08
Sdk: org.freedesktop.Sdk/aarch64/24.08
Commit: 95f63fe1cdcb43a2e01bafb192657ef5e2453275f188ad2eb92550af9fd4f84e
Subject: Export org.mozilla.firefox
Date: 2025-03-12 13:32:27 +0000
Comment 26•4 months ago
|
||
Since the release of Firefox v137.0, Firefox Release aarch64 can be installed using command "flatpak install flathub org.mozilla.firefox".
Furthermore, the latest Beta v138.0b3 aarch64 can be installed using the generic command "flatpak install --user flathub-beta org.mozilla.firefox//beta".
Tested on Ubuntu 2404.1 LTS installed on a MacBook M1 Pro. Closing report.
Reporter | ||
Comment 27•4 months ago
|
||
Thank you very much to all those involved in making this happen! Just tried it on PostmarketOS (Pinephone) as well and it worked as expected. Thanks again.
Description
•