Install Firefox in Debian

Debian comes with a fork of Firefox called Iceweasel, because of some trademarked mozilla artwork but otherwise they are basically the same.

I however like the real Firefox icon, so I wanted to install Firefox, thanks to fanDigital for this guide

Firefox logo

The first step is to download Firefox from the Mozilla website

Next step is to untar the downloaded firefox archive.

tar -xjvf firefox-27.0.1.tar.bz2

Move the extracted folder to /opt

sudo mv firefox/ /opt

Next we create a symlink to the real Firefox binary

sudo mv /usr/bin/firefox /usr/bin/iceweasel
sudo ln -s /opt/firefox/firefox /usr/bin/firefox

Now we can start Firefox by running firefox from the command line, now we will create symlinks to the Firefox icon and a firefox desktop file to provide a menu shortcut for it

sudo ln -s /opt/firefox/browser/icons/mozicon128.png /usr/share/icons/hicolor/128x128/apps/firefox.png
sudo ln -s /opt/firefox/browser/icons/mozicon128.png /usr/share/pixmaps/firefox.png

Create the file /usr/share/applications/firefox.desktop with this content

[Desktop Entry]
Comment=Browse the World Wide Web
GenericName=Web Browser
X-GNOME-FullName=Firefox Web Browser
Exec=/opt/firefox/firefox %u

It can take a while before the shortcut for Firefox is loaded but it should turn up in a few minutes.

Since both iceweasel and firefox use the same configuration files in ~/.mozilla all the settings done in iceweasel are also done in Firefox.

Missing firmware iwlwifi-6000g2a-5.ucode

When installing Debian 7.x on my Lenovo x230 laptop the installer is not able to load my wireless network card since it requires non-free firmware.

Debian non free wifi firmware

The firmware is available from this site, download the package and place it on a FAT formatted USB stick and tell the installer to load the firmware from a removable device.

According to the manual it should be possible to place the whole package file on the USB stick. I however extracted the package file using "dpkg -x" and put the ucode file on the USB stick.