Skip to main content
Official Firefox browser logo, an orange and purple flame around a circle

Firefox

Share

Internet and communication


Mozilla


MPL 2.0 and component licences

Installation for your system

Install Firefox Official Firefox website

Methods, packages and limitations are explained below.

English edition published on .

Original tutorial published on · checked on .

Firefox provides web browsing with tabs, extensions and tracking protection. On Linux and BSD, your choice also depends on the package you install and who supplies its updates. First check whether your system already includes Firefox.

Regular Firefox or Firefox ESR?

The regular release receives new features frequently. ESR keeps a feature base for longer while receiving security fixes; it is not a release to leave unpatched. It is useful in environments that need to validate tools and extensions before a major change. Debian stable provides firefox-esr. Choose a supported branch and avoid Beta or Nightly on a workstation where stability is your priority.

Sources: Mozilla’s ESR release cycle and the Debian stable package.

Install from an identifiable source

These examples assume a maintained system, a network connection and repositories matching its release. Commands using sudo require administrator privileges; do not run them on a different system from the one indicated. Read the proposed changes before confirming.

Debian: the ESR package

sudo apt update
sudo apt install firefox-esr

On Debian, use the distribution’s updates. For the interface language, look for the matching translation package in your software manager.

Ubuntu, Mint and other Linux distributions

On Ubuntu, the Firefox Snap published by Mozilla is an available option. On Linux Mint, check the source offered by the software manager: the same APT command does not imply the same package format on every distribution.

Fedora offers Firefox in its package repositories. Arch provides the firefox package in Extra: use its normal full-system update process, without partial upgrades. On an Atomic system, follow the methods documented for that edition rather than commands for a conventional system.

For a DEB or RPM supplied directly by Mozilla, follow its official Linux installation instructions, which explain the repository, key and package priorities. Switching sources should be a deliberate choice, not an accumulation of repositories.

Flatpak on Linux

If Flatpak and the Flathub repository are already configured, Mozilla documents this installation:

flatpak install flathub org.mozilla.firefox

Check the displayed origin and permissions. Flatpak does not replace system updates and may use a different profile location from a native package.

FreeBSD and OpenBSD

On FreeBSD, the official handbook documents pkg install firefox, or pkg install firefox-esr for ESR, run with root privileges. Availability depends on the release, architecture and repository in use.

On OpenBSD, check the packages available for your release using the tools in the official FAQ and read any package notes. Do not apply Linux or FreeBSD instructions there.

Preserve bookmarks, passwords and extensions

The program and personal data are separate. Before switching package formats, open about:support to locate your profile directory, then close Firefox completely before making a backup copy. Protect this copy because it may contain sensitive information. Snap, Flatpak and native packages do not necessarily store profiles in the same location; an empty profile after a migration does not mean the old one was deleted.

Mozilla explains profile backup and restoration, including limitations when moving between operating systems.

First settings and updates

  1. Try your usual websites, downloads and web applications before changing your default browser.
  2. Check the language, search engine and extension permissions. Install only extensions you need.
  3. Review the tracking protection shield. Stronger protection may need adjustment for some sites; it does not guarantee anonymity.
  4. Keep the update channel you chose: the package manager, Snap or Flatpak. Restart the browser after an update when requested.

To uninstall, use that same manager. Removing the program and deleting the profile are separate operations: back up your data before deleting any profile.

Browse Internet and communication · Check your software before choosing Linux