To install the latest version of standard Firefox on Kali Linux, run the following commands:
This method affects the system less, just download and unpack the Firefox executable files. Sudo apt remove -purge firefox-mozilla-build So to fix it you need to run the commands: var/cache/apt/archives/firefox-mozilla-build_66.0.5-0ubuntu1_bĮ: Sub-process /usr/bin/dpkg returned an error code (1) New firefox-mozilla-build package post-removal script subprocess returned error exit status 2Įrrors were encountered while processing: When removing 'diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build'įound 'local diversion of /usr/bin/firefox to /usr/bin/firefox-esr' New firefox-mozilla-build package pre-installation script subprocess returned error exit status 2ĭpkg-divert: error: mismatch on divert-to
ĭpkg: error processing archive /var/cache/apt/archives/firefox-mozilla-build_66.0.5-0ubuntu1_b (-unpack): 409496 files and directories currently installed.) Selecting previously unselected package firefox-mozilla-build. The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 5 not upgraded.Īfter this operation, 0 B of additional disk space will be used. If you encountered an error while trying to install Firefox: Sudo dpkg-divert -remove /usr/bin/firefoxĭpkg-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' Sudo apt-key adv -recv-keys -keyserver 2667CA5C Therefore, in order for everything to go fine, you need to do this:Įcho -e "\ndeb all main" | sudo tee -a /etc/apt/sources.list > /dev/null 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). 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. Installing Firefox from Ubuntuzilla: Mozilla Software InstallerĪs you might guess, this repository belongs to Ubuntu.
I'll show you how to install Firefox in both of these ways, and you choose for yourself the one that you like best.
Disadvantage: you need to update the web browser manually. The advantages of this method: no need to add new repositories and keys. The advantages of this method are: automatic update of Firefox along with other packages in the systemĭownload Firefox executable files directly and place them in the right folder. Normal Firefox can be installed in two ways:Īdd a new repository to the application sources, import the corresponding keys and install an executable file from this repository.
If you are not sure whether you need it, then you do not need it – use Firefox ESR. That is, to install normal Firefox or not – you decide.
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. Nevertheless, some programs require the latest version of the usual Firefox in which there are all modern features. And that's all – there are no other differences. From time to time, the version of Firefox ESR is updated to the current one, and then again “freezes” in its development. 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. The letters ESR mean Extended Support Release.