So you want to install the most recent firefox?

Thursday, 23 June 2011

If you've been following new releases you'll see there is a new Firefox browser out, version 5.0.

This will almost certainly make its way into Debian's experimental tree soon, but that doesn't help users of the Debian Stable release. The only sane option for those users (such as myself), without a backport, is to install locally.

So I did the obvious thing, I made /opt/firefox then installed the binary release into it. Then I found that it was good, lovely and fast.

Unfortunately the system firefox and the local firefox are not really compatible. Run the local one, then click on a link in the gnome terminal and it wants to open the system one. Ho hum.

The solution:

  • Remove your local firefox & iceweasel packages.
  • Create the shell scripts /usr/bin/firefox & /usr/bin/iceweasel to exec the one stored beneath /opt.
  • Rejoice.

Of course this being Debian we don't want to do that. So instead here is a package that will let you do that:

Download. Build. Install. If you install your local package to a location different than /opt/firefox update the configuration file /etc/firefox/firefox.conf to point to it.

Possibly useful?

ObQuote: "I could help you cross your yard." - Up



Comments On This Entry

[gravitar] themill

Submitted at 00:13:22 on 24 june 2011 might also be of interest -- iceweasel 4.0 for squeeze (wheezy and sid) has been there for a while and iceweasel 5.0 for squeeze, wheezy and sid was uploaded a few days ago.

[gravitar] Anonymous

Submitted at 01:32:47 on 24 june 2011

How about?

[gravitar] glandium

Submitted at 02:47:48 on 24 june 2011

Why not simply install the iceweasel 5 backport ?

[gravitar] Wes Frazier

Submitted at 03:26:54 on 24 june 2011

5.0 was released for Debian Stable via backports.

[gravitar] Josh Triplett

Submitted at 06:02:57 on 24 june 2011

Try . It provides packages of various Firefox versions for various Debian versions. In particular, it has Firefox 5.0 packages for Squeeze.

[gravitar] Arno

Submitted at 06:44:11 on 24 june 2011

The Debian Mozilla team has iceweasel 5.0 packaged for stable/squeeze:

[gravitar] Philipp Kern

Submitted at 08:05:37 on 24 june 2011


[author] Steve Kemp

Submitted at 09:01:41 on 24 june 2011

How embarrassing.

I knew backports existed, but I was not aware of that CNAME, or the fact that they were available so very quickly.

Oh well...

[gravitar] i5513

Submitted at 10:16:12 on 24 june 2011

Please, if you want (of course), update your post to tell about, it is working fine ... and I don't think is a good idea having a .deb installed with dpkg because updates won't go to your Debian Computer !

Thanks !

[author] Steve Kemp

Submitted at 10:26:18 on 24 june 2011

javibarroso: I rarely update posts unless they are glaringly wrong, people who read the comments will see my omission clearly enough!

Randomly installing .deb packages does mean updates aren't applied, but in this case I expect there isn't going to need to be one. That said I did create a mini apt repository for myself..

[gravitar] Samat

Submitted at 18:08:40 on 24 june 2011

Just for completeness: if you're using Ubuntu, there a several PPAs for each of Firefox's new channels (Stable, Beta, and Aurora), just like Following Firefox's New Development Channels with Ubuntu.

[gravitar] mirabilos

Submitted at 18:20:07 on 24 june 2011

I’ve done “one better” for work and we have a “source”
package with the binaries for Firefoxâ„¢ 1.5 upto the nightly
builds of aurora (currently 6.0alpha) and trunk (7.0alpha),
which will build a binary package per version each, plus a
common package and one that pulls them all.

No idea whether it’d be legal to publish that, though, as
it contains no source in itself (not in Debian anyway, but
I’m wary of puttint it up at all, even though all of its
content is floaring around somewhere on the ’net). Advice?
I’d be happy to provide this.

Best thing: it doesn’t collide with a system-installed
iceweasel (or Kubuntu firefox-3.0 package shipping grr
a firefox 3.6), so you can still use them, along with
the distro’s security support.

And: you can run several versions of Firefox in parallel.
They use profiles like ff20, ff35, ff50, etc. by default
and run with -no-remote.

This is used heavily by our QA department for testing
usability of web “applications” with the FF versions
specified in the original documents (often that is 1.5
or 2.0, don’t laugh, but these are contracts).

[gravitar] Pawel Stolowski

Submitted at 09:14:20 on 25 june 2011

It's still useful even though provides iceweasel - for those who prefer official firefox with mozilla branding for example.
Some ideas:
- rename it to firefox-wrapper or so
- install firefox icon into /usr/share/applications/...
- drop '5.0' from package name, as it will work with virtually every version of firefox.

[author] Steve Kemp

Submitted at 10:48:36 on 25 june 2011

Pawel - I've done most of that :

[gravitar] Anonymous

Submitted at 19:38:29 on 26 june 2011

Note that the official iceweasel packages will execute a program named "firefox.real" if installed, and only execute iceweasel if that doesn't exist. So if you make a symlink from firefox.real to Mozilla's firefox binary, it will integrate nicely with the system.


Comments are closed on posts which are more than ten days old.

Recent Posts

Recent Tags