Closed Bug 2032149 Opened 4 months ago Closed 2 months ago

Write script to install Firefox across all packaging formats, channels, and locales on Linux

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(firefox154 fixed)

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: Sylvestre, Assigned: jlorenzo)

References

(Depends on 2 open bugs, Blocks 5 open bugs)

Details

Attachments

(6 files, 3 obsolete 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
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

can be installed this way:

curl --proto '=https' --tlsv1.2 -sSf <url>/fx.sh -o fx.sh && sh fx.sh
# Install Firefox from the Mozilla APT repo (default: release channel, system locale)
./fx.sh --format deb

# Install the Nightly .rpm
./fx.sh --format rpm --channel nightly

# Install Beta via Flatpak in French
./fx.sh --format flatpak --channel beta --locale fr

# Install ESR from tarball into /opt
./fx.sh --format tarball --channel esr --dest /opt/firefox-esr

# Install Nightly snap in German
./fx.sh --format snap --channel nightly --locale de

# Auto-detect the best format for the current system
./fx.sh --channel release --locale en-US

Supports apt, rpm, snap, flatpak, and tarball install methods with
automatic OS/distro/locale detection. Includes Docker-based test suite.

Attachment #9597400 - Attachment is obsolete: true
Assignee: sledru → jlorenzo
Attachment #9573993 - Attachment is obsolete: true
Attachment #9574014 - Attachment is obsolete: true
Blocks: 1926556
Summary: Provide a unified `fx.sh` script to install Firefox across all packaging formats, channels, and locales → Write script to install Firefox across all packaging formats, channels, and locales on Linux
Pushed by jlorenzo@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/59ce5fe07a0e https://hg.mozilla.org/integration/autoland/rev/b64ee9589bee part 1: Add shunit2 scaffolding for install-firefox.sh unit tests r=taskgraph-reviewers,ahal https://github.com/mozilla-firefox/firefox/commit/427692139ddb https://hg.mozilla.org/integration/autoland/rev/85d51c30b7e5 part 2: Add install-firefox.sh for Linux (apt) and linux-install-test CI kind r=taskgraph-reviewers,ahal https://github.com/mozilla-firefox/firefox/commit/f8de2b2fe5fb https://hg.mozilla.org/integration/autoland/rev/767523630bd4 part 3: Add rpm support to install-firefox.sh r=taskgraph-reviewers,ahal https://github.com/mozilla-firefox/firefox/commit/da844fce86fd https://hg.mozilla.org/integration/autoland/rev/390c515d6b97 part 4: Add flatpak support to install-firefox.sh r=taskgraph-reviewers,ahal https://github.com/mozilla-firefox/firefox/commit/3254185975b3 https://hg.mozilla.org/integration/autoland/rev/d6695373c435 part 5: Add tarball support to install-firefox.sh r=taskgraph-reviewers,ahal https://github.com/mozilla-firefox/firefox/commit/4a9f0336277b https://hg.mozilla.org/integration/autoland/rev/e22ff521a4c4 part 6: Add snap support to install-firefox.sh r=taskgraph-reviewers,ahal
See Also: → 2055205
Depends on: 2063915
Depends on: 2063916
Blocks: 2069356
Blocks: 2069357
Blocks: 2069358
Blocks: 2069360
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: