/firefox-desnap

Install Firefox latest (Not Snap) on Ubuntu 22.04 and your Flavours, and Debian Stable/Testing.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Download and install Firefox Release on Ubuntu 22.04, 23.10, 24.04 and Debian Stable or Testing

License Shell Script Ubuntu Kubuntu Xubuntu Lubuntu MATE Debian

📑 Proposal

Ubuntu in its version 22.04 ou higher brought the Firefox proposal through the Snap format as the default for its installations and its flavors. The purpose of this Git is to install Firefox in the latest version on these distros through a direct download from Mozilla PPA, with updates with the system.

This script can also install Firefox latest on Debian Stable or Testing, which usually has the ESR version installed.

Made with 💝 for

Warning

This script only supports LTS versions of Ubuntu and only the latest point release (23.10 mantic). In addition, Debian is not supported on Oldstable either.

Important

In case of errors please report them in the Issues tab for future correction.

Note

Keep in mind that performance, some bugs, missing features and missing system integrations with the Firefox Snap package, have the promise to are being addressed by Ubuntu developers. And ESR is developed to be as stable as possible and closely tracks major version releases.

📌 Notes

  • Script will download the Firefox depending of locale setting of your system language.

  • The script will check if you have the Snap or ESR versions installed, otherwise the latest version can be installed and both can coexist normally on the same system.

  • If you choose to run this script in automatic mode, the script will automatically remove Firefox Snap or ESR and install the latest version from Mozilla or Debian Sid (for the Debian installation) repo as a replacement for the system's native versions.

  • Manually, the script will uninstall the Snap or ESR versions and ask for confirmation to install the latest version.

  • In addition to that, this script will also pin the Snap version of Firefox in Ubuntu and ESR in Debian so it doesn't get installed again.

  • If you want to install by the tarball method, use the old version of this script contained in tarball branch.

🚀 Execution

  • git clone this repo.
  • Give execution permissions on Firefox-DeSnap.sh
  • ./Firefox-DeSnap to execute.

🌎 How to update

When installing Firefox using this method you will have updates directly from the system repo apt update and apt upgrade.

📧 Thunderbird

It's a little out of context of the scope of this repo, however Thunderbird is currently also in Snap format on Ubuntu 24.04 and so I added an adjacent script to install the non-Snap version on that system.

Note

When adding the Mozilla Team's PPA you check for the alert:

W: https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/noble/InRelease: Signature by key 0AB215679C571D1C8325275B9BDB3D89CE49EC21 uses weak algorithm (rsa1024)

This is not necessarily an error as can be seen in this link. The Thunderbird-DeSnap.sh script can bypass this alert and will be temporarily removed after being corrected by the Canonical and/or Mozilla Team.

🎁 Sponsoring

If you like this work, give me it a star on GitHub, and consider supporting it:

PayPal