Monday, December 9, 2019

How to install Firefox on Debian

How to install Firefox on Debian

Maybe it sounds like a joke about how to install Firefox on Debian, but it isn't, as the most experienced Debianites know. Because, yes, Firefox has long been the default web browser in most Linux and Debian distributions is no exception, but ...

But it was not always like this. For many years, the name of Firefox was not seen in Debian at first, although in the background the browser that used the distro was Firefox. However, due to legal conflicts and forms, what Debian offered its users was called Iceweasel. And the same goes for Thunderbird: Icedove was called his mail client.

Finally in Mozilla they entered into reason and changed what was wrong, again winning Debian's favor. Then, Firefox returned with all of the law within the universal operating system. But, alas, it wasn't Firefox itself, but Firefox ESR (Extended Support Release), a stable version of the browser that only receives security patches.

It's understandable: Firefox on Debian adapts to the idiosyncrasy of the distribution and the ESR version is the right one, despite being quite outdated. The problem is that either 60 or 68, yesterday Firefox 71 came out and the accumulated is noticeable and much in all aspects, performance to the new browser privacy tools.

How to install Firefox on Debian

Getting to the point, Firefox is installed as standard on Debian, but since it is not the version that many will want, life must be sought, since the normal version is not found in the repositories. That is, you have to install Firefox by hand, as it has always been done, as explained in the wiki. In steps:

  1. First, download Firefox from the official website.
  2. Second, unzip the package in your user box.
  3. Third, create an empty text document called "firefox-stable.desktop" and paste the following into it:
[Desktop entry]
Name = Firefox stable
Comment = web browser
Exec = / path / firefox / firefox% u
Terminal = false
Type = Application
Icon = / path / firefox / browser / chrome / icons / default / default128.png
Categories = Network; WebBrowser;
MimeType = text / html; text / xml; application / xhtml + xml; application / xml; application / vnd.mozilla.xul + xml; application / rss + xml; application / rdf + xml; x-scheme-handler / http; controller-schema-x / https;
StartupNotify = true
Look at the word highlighted in black: «path«; because there you must put the path where you left the Firefox folder. Normally, it would be in your user directory, for example: «/ home / james / firefox / firefox% u».

  1. Fourth, save that file in «/.local/share/applications«.

Keep in mind that this method is only for you, which is the scenario that I consider most common. If you want Firefox to be available to all users of the system, the process is the same, only the routes change (both actions require administrator permissions):

  • The Firefox package you have to unzip it in «/ opt /«.
  • The .desktop access you have to create it in «/ usr / share / applications» and adapt it to the path of the executable.

Once installed, remember that you can translate the Firefox interface to the language you want through the preferences of the browser itself. And as for the version update, don't worry because Firefox will apply them to the Windows style, silently, as they become available.

Of course, you can also install Firefox on Debian as Flatpak and Snap, but honestly ...
Share:

0 comentarios:

Post a Comment