Firefox for linux kali

How to install Firefox in Kali Linux

This is a small and quick guide on How to install Firefox in Kali Linux.

Mozilla Firefox is a free and open-source web browser developed for Windows, OS X, and Linux, with a mobile version for Android, by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards.

As of July 2013, Firefox has between 16% and 21% of worldwide usage, making it the third most popular web browser, according to different sources. According to Mozilla, Firefox counts over 450 million users around the world. The browser has had particular success in Indonesia, Germany, and Poland, where it is the most popular browser with 57%, 45% and 44% of the market share, respectively. Source: Wikipedia

IceWeasel is the default browser in Kali Linux which is really Firefox with a different name and logo. Debian guru’s didn’t like Mozilla’s license agreement and decided to use IceWeasel instead of Firefox. Personally, I can’t see much differences but if you’re one of those people who MUST use Firefox this guide will help you to replace IceWeasel with Firefox.

Note: This is copy paste guide to achieve that. So yeah, this is the best way to go about..

Close IceWeasel

If you have IceWeasel running, how are you going to remove it? So copy these instructions into Leafpad and close IceWeasel. Maybe you could bookmark this site to come back and check? Upto you really.

Install Firefox in Kali Linux

Copy paste these commands in your Terminal.

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

Conclusion

Now find Firefox logo and fire it up. Hope this small guide helps someone out there.. Thanks for reading. Please share and RT.

Читайте также:  Как посмотреть бинарный файл в линукс

Check Also

Install, setup, configure and run OpenVAS on Kali Linux - blackMORE Ops - 13

Install, setup, configure and run OpenVAS on Kali Linux

Vulnerability scanning is a crucial phase of a penetration test and having an updated vulnerability …

Correct way of installing VirtualBox Guest Additions in Kali Linux 2016.2/2017 (Kali Rolling)

How to install VirtualBox Guest Additions in Kali Linux (Kali Rolling / Kali Linux 2016.2 / Kali 2017)

Since Kali Linux 2016 came out (also known as Kali Rolling), it seems that Official …

65 comments

Show me the error message please.
Did you manage to remove IceWeasel first? (you need to close IceWeasel before you remove it).
Also you might have to fix Kali Keys. Followings are for Kali Keys
gpg –keyserver pgpkeys.mit.edu –recv-key ED444FF07D8D0BF6
gpg -a –export ED444FF07D8D0BF6 | sudo apt-key add —
or
apt-key update
Then apt-get update and retry.
Edit 20/01/2014 – Since making the comment above, I’ve had an issue “WARNING: The following packages cannot be authenticated!” and managed to fix it.

Источник

How to install normal Firefox in Kali Linux

Kali Linux has Firefox ESR installed. The letters ESR mean Extended Support Release. If to reduce to the dry rest, then in fact Firefox ESR is a usual Firefox which loses new functions and is less often updated, though it receives security updates. From time to time, the version of Firefox ESR is updated to the current one, and then again “freezes” in its development. And that’s all – there are no other differences.

Nevertheless, some programs require the latest version of the usual Firefox in which there are all modern features. This article is dedicated to this issue – you can install a regular version of Firefox on Kali Linux without removing the default version Firefox ESR.

That is, to install normal Firefox or not – you decide. If you are not sure whether you need it, then you do not need it – use Firefox ESR.

Normal Firefox can be installed in two ways:

  • add a new repository to the application sources, import the corresponding keys and install an executable file from this repository. The advantages of this method are: automatic update of Firefox along with other packages in the system
  • download Firefox executable files directly and place them in the right folder. The advantages of this method: no need to add new repositories and keys. Disadvantage: you need to update the web browser manually.
Читайте также:  Kali linux создать файл

I’ll show you how to install Firefox in both of these ways, and you choose for yourself the one that you like best.

Installing Firefox from Ubuntuzilla: Mozilla Software Installer

As you might guess, this repository belongs to Ubuntu. The maitainers of Kali Linux strongly recommend not to add third-party repositories to the Kali Linux system, since this will almost certainly lead to problems.

This case is not an exception, if you simply add a web browser repository and just try to install it, an error will occur (it is described just below).

Therefore, in order for everything to go fine, you need to do this:

echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | sudo tee -a /etc/apt/sources.list > /dev/null sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2667CA5C sudo apt update sudo dpkg-divert --remove /usr/bin/firefox sudo rm /usr/bin/firefox sudo apt install firefox-mozilla-build

dpkg-divert: error: ‘diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build’ clashes with ‘local diversion of /usr/bin/firefox to /usr/bin/firefox-esr’

If you encountered an error while trying to install Firefox:

Reading package lists. Done Building dependency tree Reading state information. Done The following NEW packages will be installed: firefox-mozilla-build 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 0 B/68.5 MB of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package firefox-mozilla-build. (Reading database . 409496 files and directories currently installed.) Preparing to unpack . /firefox-mozilla-build_66.0.5-0ubuntu1_amd64.deb . dpkg-divert: error: 'diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build' clashes with 'local diversion of /usr/bin/firefox to /usr/bin/firefox-esr' dpkg: error processing archive /var/cache/apt/archives/firefox-mozilla-build_66.0.5-0ubuntu1_amd64.deb (--unpack): new firefox-mozilla-build package pre-installation script subprocess returned error exit status 2 dpkg-divert: error: mismatch on divert-to when removing 'diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build' found 'local diversion of /usr/bin/firefox to /usr/bin/firefox-esr' dpkg: error while cleaning up: new firefox-mozilla-build package post-removal script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/firefox-mozilla-build_66.0.5-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

So to fix it you need to run the commands:

sudo dpkg-divert --remove /usr/bin/firefox sudo rm /usr/bin/firefox sudo apt remove --purge firefox-mozilla-build sudo apt reinstall firefox-mozilla-build

Alternative way to install Firefox

This method affects the system less, just download and unpack the Firefox executable files.

Читайте также:  Linux kernel module headers

To install the latest version of standard Firefox on Kali Linux, run the following commands:

wget -O firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US" tar xvjf firefox.tar.bz2 sudo mv firefox /usr/lib/ sudo rm /bin/firefox /usr/bin/firefox ln -s /usr/lib/firefox/firefox /bin/firefox
firefox -v Mozilla Firefox 66.0.5

In the information about Firefox ESR (Menu → Help → About Firefox):

In the usual Firefox information:

To create a shortcut on the desktop, create and open a text file:

gedit Desktop/Firefox.desktop

Copy the following into it:

[Desktop Entry] Name=Firefox Encoding=UTF-8 Exec=sh -c "/bin/firefox" Icon=/usr/lib/firefox/browser/chrome/icons/default/default128.png StartupNotify=false Terminal=false Type=Application

Click the shortcut with the right mouse button and select “Allow Launching” there.

After that, Firefox can be launched by double clicking on this shortcut.

How to Update Firefox on Kali Linux

The program installed in this way will have the latest version at the time of the execution of commands, but over time new versions will be released. In order not to install them manually, you can create a script:

#!/bin/bash installed=`firefox -v` thelastone=`curl -s -I "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=ru" | grep -E -o 'firefox-[0-9.-]+tar.bz2' | grep -E -o '[0-9.]'` if [[ "$installed."!="Mozilla Firefox $thelastone" ]]; then echo 'You have the last Firefox release' exit fi wget -O firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=ru" tar xvjf firefox.tar.bz2 sudo rm -rf /usr/lib/firefox sudo mv firefox /usr/lib/

Make it executable and move it to the directory in the PATH variable:

chmod +x firefox-update sudo mv firefox-update /bin/

From time to time, run the file as follows:

A version check will be made and if a newer version is released, it will be downloaded and installed.

Источник

Firefox for linux kali

Learn Latest Tutorials

Splunk tutorial

SPSS tutorial

Swagger tutorial

T-SQL tutorial

Tumblr tutorial

React tutorial

Regex tutorial

Reinforcement learning tutorial

R Programming tutorial

RxJS tutorial

React Native tutorial

Python Design Patterns

Python Pillow tutorial

Python Turtle tutorial

Keras tutorial

Preparation

Aptitude

Logical Reasoning

Verbal Ability

Company Interview Questions

Artificial Intelligence

AWS Tutorial

Selenium tutorial

Cloud Computing

Hadoop tutorial

ReactJS Tutorial

Data Science Tutorial

Angular 7 Tutorial

Blockchain Tutorial

Git Tutorial

Machine Learning Tutorial

DevOps Tutorial

B.Tech / MCA

DBMS tutorial

Data Structures tutorial

DAA tutorial

Operating System

Computer Network tutorial

Compiler Design tutorial

Computer Organization and Architecture

Discrete Mathematics Tutorial

Ethical Hacking

Computer Graphics Tutorial

Software Engineering

html tutorial

Cyber Security tutorial

Automata Tutorial

C Language tutorial

C++ tutorial

Java tutorial

.Net Framework tutorial

Python tutorial

List of Programs

Control Systems tutorial

Data Mining Tutorial

Data Warehouse Tutorial

Javatpoint Services

JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.

  • Website Designing
  • Website Development
  • Java Development
  • PHP Development
  • WordPress
  • Graphic Designing
  • Logo
  • Digital Marketing
  • On Page and Off Page SEO
  • PPC
  • Content Development
  • Corporate Training
  • Classroom and Online Training
  • Data Entry

Training For College Campus

JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week

Like/Subscribe us for latest updates or newsletter RSS Feed Subscribe to Get Email Alerts Facebook Page Twitter Page YouTube Blog Page

Источник

Оцените статью
Adblock
detector