Installing Firefox on Kali Linux

Kali Linux ships with the IceWeasel, which is the default Web browser. IceWeasel is a rebranded version of FireFox by the Debian Foundation. This was done so they could distribute the software without being bound by trademark requirements from The Mozilla Foundation.

The Debian gurus didn’t like Mozilla’s license agreement and decided to use IceWeasel instead of Firefox. The story is a little more complex than that, so we won’t get into the history of it. If you are curious look it up. This article will focus on installing Firefox on Kali Linux.

Note: This is copy paste guide to achieve installation. So yah, this is the best way to go about doing it!

Step 1: Close IceWeasel

Sounds obvious, but many people forget to close IceWeasel.

Step 2: Copy and Paste

The second step is basically 5 different commands you will paste into the terminal.

apt-get remove iceweasel

echo -e “\ndeb all main” | tee -a /etc/apt/sources.list > /dev/null

apt-key adv –recv-keys –keyserver C1289A29

apt-get update

apt-get install firefox-mozilla-build

Command Break Down

Here is what you are doing when you execute those 5 commands:

  1. apt-get remove iceweasel

Installing Firefox on Kali Linux-1

This command removes the IceWeasel Web browser


  1. echo -e “\ndeb all main” | tee -a /etc/apt/sources.list > /dev/null


This command adds the necessary sources for FireFox.


  1. apt-key adv –recv-keys –keyserver C1289A29

This command adds secure gpg keys for the Ubuntu repository. You need this because Kali does not connect to the Ubuntu repository by default.


  1. apt-get remove update


This command updates the application repository indexes.


  1. apt-get install firefox-mozilla-build

This command installs Firefox.

Installing Firefox on Kali Linux-2

This command installs Firefox.

When you go to your Internet directory, you will see Firefox listed. All done and very simple.

Installing Firefox on Kali Linux-3