Saturday, September 5, 2015

How to Install Firefox in Kali 2.0

Iceweasel is often out of date, and this is true with Kali 2.0. So if you want a current version of FireFox then I will show you the easiest way I have found to install it. Unlike some other methods, this one shouldn't cause problems with other programs, and I've heard, but cannot confirm, you may not need to uninstall Iceweasel. I'll explain why I cannot confirm this after I show you how to install it.

So open terminal and enter the following to uninstall Iceweasel:
apt-get remove iceweasel
Now we need to tell Kali how to get a project that will get the latest version of FireFox for Kali (or other Debian systems.) To do this enter the following in terminal, it is all one line:
echo -e "\ndeb all main" | tee -a /etc/apt/sources.list > /dev/null
Next we need to add a key via apt-key in terminal:
apt-key adv --recv-keys --keyserver C1289A29
All that's left is to update and install firefox:
apt-get update
apt-get install firefox-mozilla-build
 That's it! Now you can find FireFox in the Application menu or run it from terminal by typing `firefox`. Don't worry if you see a GLib error when running it from terminal.

I said you may not need to uninstall Iceweasel but I cannot verify this because I uninstalled it while attempting a previous FireFox install. Now that I have installed FireFox via the method I showed, I tried to reinstall Iceweasel but I get the following error that is caused by having FireFox:
diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel' clashes with `diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build

Thanks for reading, check out my YouTube videos, I have a lot of stuff on Tor and Kali. Follow me on Twitter, @gFogerlie, Google+ and Facebook and you can subscribe to me on Youtube if you want to keep up to date.