Debian – How to Install Firefox Quantum on Debian 9 Stretch

browserdebianfirefox

I looking where can I install and try the new browser Firefox Quantum, I didn't find how to get it.
Can someone please tell me what repositories or links to download and install it ?

Thank you.

Best Answer

Add deb http://ftp.hr.debian.org/debian sid main contrib non-free to /etc/apt/sources.list and install it with this command:

apt install -t sid firefox

This will install only Firefox from unstable. Rest of packages will remain on stretch.


Added by cas 2018-04-19 (because it's quite common for people to want to install something from unstable without upgrading everything to unstable, and the answer here is applicable to more than just firefox):

This is a good answer, but incomplete. There are two more things that need to be done before running apt install -t sid firefox.

  1. Add APT::Default-Release "stable"; to /etc/apt/apt.conf or a file in /etc/apt/apt.conf.d/ so that apt will only install packages from sid/unstable if you explicitly tell it to with -t sid.

    If you don't set the default release to stable, the next upgrade or dist-upgrade will upgrade your entire system to sid. Most people don't want this.

    If you're using a named Debian distribution such as jessie or stretch in your sources.list file, use that name rather than the generic stable.

  2. run apt update to update the local package database.

Finally, apt install -t sid firefox will install not only the firefox package but also the minimum set of upgraded & new packages required to satisfy the new firefox package's dependencies. This will usually just be a few firefox-related packages, built from the same source, but may also include other packages - e.g. if the new firefox depends on a newer version of a library package.

Sometimes it may even cause an important package like libc6 to be upgraded which will then trigger a huge cascade of other package upgrades, effectively upgrading you to a hybrid of stable & unstable. This is generally worse than doing a full dist-upgrade to unstable itself. If this happens, you have two good choices: 1. cancel the firefox upgrade and wait for it to arrive in stable or https://backports.debian.org/; 2. cancel it and upgrade to unstable (which is not as bad as it sounds. In Debian, "unstable" doesn't mean "will crash all the time". It means "pre-release, changes constantly. sometimes things may break and require manual fixing")

Related Question