How to use recent version of Iceweasel in Debian Jessie

Do you want to use latest version of Iceweasel also known as Firefox? Then add the repository provided by Debian Mozilla team and choose between release, beta and aurora version.

This blog post is obsolete, please read How to use recent version of Firefox in Debian Jessie instead.

First step

Add GnuPG archive key for mozilla.debian.net repository to the list of trusted keys.

$ wget -q -O - http://mozilla.debian.net/archive.asc | \
  sudo apt-key add -

Second step

Add desired repository to the active APT data sources.

Release version

$ cat << EOF | sudo tee /etc/apt/sources.list.d/mozilla-iceweasel.list
deb http://mozilla.debian.net/ jessie-backports iceweasel-release
EOF

Beta version

$ cat << EOF | sudo tee /etc/apt/sources.list.d/mozilla-iceweasel.list
deb http://mozilla.debian.net/ jessie-backports iceweasel-beta
EOF

Aurora version

$ cat << EOF | sudo tee /etc/apt/sources.list.d/mozilla-iceweasel.list
deb http://mozilla.debian.net/ jessie-backports iceweasel-aurora
EOF
You can find basic version comparison at the bottom of this article.

Third step

Assign higher priority to recently added repository.

$ cat << EOF | sudo tee /etc/apt/preferences.d/mozilla-iceweasel
Package: *
Pin: origin mozilla.debian.net
Pin-Priority: 501
EOF

Fourth step

Update package index.

$ sudo apt-get update

Fifth step

Verify assigned priorities.

$ apt-cache policy iceweasel
iceweasel:
  Installed: 38.3.0esr-1~deb8u1
  Candidate: 41.0.2-1~bpo80+1
  Version table:
     41.0.2-1~bpo80+1 0
        501 http://mozilla.debian.net/ jessie-backports/iceweasel-release amd64 Packages
 *** 38.3.0esr-1~deb8u1 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     38.2.1esr-1~deb8u1 0
        500 cdrom://[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie/main amd64 Packages
        500 http://ftp.task.gda.pl/debian/ jessie/main amd64 Packages

Sixth step

Initiate upgrade or install process depending on your needs.

Upgrade browser if it is already installed.

$ sudo apt-get upgrade

Install browser if it is not installed.

$ sudo apt-get install iceweasel

Ending notes

Project website

Please visit Debian Mozilla team website for more information and use repository wizard.

Version comparison

$ apt-cache policy iceweasel
iceweasel:
  Installed: 38.3.0esr-1~deb8u1
  Candidate: 43.0~a2+20151019004047-1~bpo80+1
  Version table:
     43.0~a2+20151019004047-1~bpo80+1 0
        501 http://mozilla.debian.net/ jessie-backports/iceweasel-aurora amd64 Packages
     42.0~b7-1~bpo80+1 0
        501 http://mozilla.debian.net/ jessie-backports/iceweasel-beta amd64 Packages
     41.0.2-1~bpo80+1 0
        501 http://mozilla.debian.net/ jessie-backports/iceweasel-release amd64 Packages
 *** 38.3.0esr-1~deb8u1 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     38.2.1esr-1~deb8u1 0
        500 cdrom://[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie/main amd64 Packages
        500 http://ftp.task.gda.pl/debian/ jessie/main amd64 Packages
Milosz Galazka's Picture

About Milosz Galazka

Milosz is a Linux Foundation Certified Engineer working for a successful Polish company as a system administrator and a long time supporter of Free Software Foundation and Debian operating system.

Gdansk, Poland https://sleeplessbeastie.eu