Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It however lacks plugin support, most of my favorites don't work.

So what is best way to install the "real" Firefox on Debian?

share|improve this question

5 Answers

up vote 41 down vote accepted

First, you need to remove the existing Iceweasel package (I think you can use aptitude as well):

apt-get remove iceweasel

Then, download the latest Linux build of Firefox directly from Mozilla. Extract the files, and navigate to that folder, and run it. If you want, make an icon on your desktop. You can also make a link to the binary in /usr/bin/firefox to make it easier to launch.

If you want a package-based one, you can use Linux Mint's Debian package repo. To do this, add the following line to your /etc/apt/sources.list file:

deb http://packages.linuxmint.com debian import

Then, just run:

apt-get update
apt-get install firefox

And you should be good to go!

The default install is German, to install in any other language, you can manually run:

apt-get install firefox-l10n-en-us

Or use firefox-l10n-en-gb for British English.

share|improve this answer
1  
Definitely easier than what I suggested. – Simon Sheehan Aug 12 '11 at 14:53
1  
Bah, got no notification that you were writing -- beat me to it :P – slhck Aug 12 '11 at 15:01
3  
What about GPG signature of that repository? – Miro Aug 13 '11 at 14:10
Done that. It's Dutch language version- any ideas how to make it English? – Leo Jul 30 '12 at 19:30
@nodiscc that's the default repository included with Debian to begin with... If you look at the linked repository in that answer, it only has Iceweasel, not Firefox (as the OP requested). If you are really against using another popular Linux distribution's repository, you might want to consider adding the Daily-Built Ubuntu Firefox/Thunderbird PPA. – Breakthrough Dec 21 '12 at 17:24
show 4 more comments

There's a sourcefourge project, basically dedicated to allowing you to get the latest version of Firefox when running Ubuntu, no matter which version you run (as long as dependencies are satisfied, obviously). Since Ubuntu is a Debian derivative, I thought I'd try it. I've got Firefox working on Debian Testing ("Wheezy") just fine.

Run this:

apt-get remove iceweasel
echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
apt-get update
apt-get install firefox-mozilla-build

This resolves the GPG key issue that is encountered when using the imported Linux Mint DE repository, and is significantly simpler than the other viable solution. Also, this gives you access to Thunderbird and SeaMonkey as well.

Note that this solution only gives you the English-US Release Channel version (no beta or Aurora builds). Other languages can be used, but additional steps are required.

See the project page at Ubuntuzilla for more information.

share|improve this answer
Works like charm! – Yordan Pavlov 2 days ago

You 'could' also get the latest and greatest version of Iceweasel from the mozilla debian team :-)

http://mozilla.debian.net/

share|improve this answer
3  
The idea of this is to get rid of Iceweasel – Simon Sheehan Dec 19 '11 at 20:16
3  
I understand ... maybe I should have clarified that all the plug-in functionality that he desires with the branded version of Firefox is available with the mozilla teams' Iceweasel backport ... I too am a Firefox die hard and was hard sold on Iceweasel until I actually intalled the backport from mozilla ... other than the logo and images ... it's identical ... plug-ins, themes, everything. – Eddie B Dec 20 '11 at 1:33
How is this any different from what comes with Debian by default? – Breakthrough Dec 21 '12 at 17:26
1  
@Breakthrough The mozilla.debian repo has the beta / aurora channels so you can run newer builds ... It's basically a backport package helper ... – Eddie B Dec 21 '12 at 20:03
@EddieB ah I see, my apologies. I see now they have a bunch of different options. – Breakthrough Dec 21 '12 at 20:05

This post on the Debian User forums suggests the following:

  • Download latest Firefox from: http://www.mozilla.com . If using wget, remember to escape any & with \ so it doesn't break the url down into a series of background process
  • Copy the downloaded file to /opt
  • Extract it using:

    $ tar -jxvf firefox-x.x.xx.tar.bz2
    
  • Change the permissions of the file:

    $ chown -R root:users /opt/firefox
    
    $ chmod 750 /opt/firefox
    

    Note that the user should be a group member of "users"

    $ usermod -a -G users username
    
  • Create a symbolic link

    $ ln -s /opt/firefox/firefox /usr/bin/firefox
    
  • Delete firefox-x.x.xx.tar.bz2 from /opt

To install new versions, you are supposed to

# rm -rf /opt/firefox*
# rm /usr/bin/firefox

To make a desktop icon, do this

$ touch /usr/share/applications/firefox.desktop

Edit this using your favourite text editor:

$ nano /usr/share/applications/firefox.desktop

Contents of firefox.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=Mozilla Firefox
Comment=Browse the World Wide Web
Type=Application
Terminal=false
Exec=/usr/bin/firefox %U
Icon=/opt/firefox/icons/mozicon128.png
StartupNotify=true
Categories=Network;WebBrowser;

You can remove iceweasel with

$ apt-get remove iceweasel

If you encounter this error:

./firefox: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

You should probably install

apt-get install ia32-libs ia32-libs-gtk

Chances are that you are trying to install the 32 bit version of firefox in a 64 bit Debian environment.

share|improve this answer

I'm running an AMD Athlon II X2 system. Firefox runs perfectly on Wheezy i686 & the 3.2.0-4-686-pae kernel. The stock ice weasel just seemed gutted, crippled and inferior compared to FF. Installation is a snap. I download the newest FF to /home/myusername/Linux/Software/Mozilla/current/, and then run


cd /opt
sudo rm -R firefox*
sudo cp /home/myusername/Linux/Software/Mozilla/current/firefox* /opt
sudo tar jxvf firefox*

The second line removes the previous version completely before the upgrade
Just my $.02

share|improve this answer
sudo rm -R firefox* seems quite dangerous, what if you had other firefox* folders in /opt? – Alois Mahdal Apr 21 at 19:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.