Mozilla Firefox is the default browser in Debian, Fedora, Linux Mint, openSUSE and many other distributions, and the only major browser that is not built on Chromium. A new version comes out every four weeks; the Extended Support Release (ESR) gets a new major version once a year and only security fixes in between. Here is how to install the version you want, keep it updated and set it up for privacy.
Ways to install Firefox on Linux

| Source | Updates | Notes |
|---|---|---|
| Distribution package | With the system | Debian ships ESR; Fedora, Arch, Mint ship the regular version |
| Mozilla APT repository | With apt, straight from Mozilla | Best choice on Debian and Ubuntu; also Beta, Developer Edition and Nightly |
| Snap | Automatic | Default on Ubuntu; starts slower, sandboxed |
| Flatpak (Flathub, by Mozilla) | Automatic | Works on any distribution, sandboxed |
| Tarball from mozilla.org | Firefox updates itself | No root needed, install in your home directory |
Mozilla APT repository (Debian, Ubuntu, Mint)
sudo install -d -m 0755 /etc/apt/keyrings
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee /etc/apt/sources.list.d/mozilla.list
printf "Package: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000\n" | sudo tee /etc/apt/preferences.d/mozilla
sudo apt update && sudo apt install firefox
On Ubuntu, remove the snap first (sudo snap remove firefox); the pin file makes apt prefer Mozilla’s package over Ubuntu’s transitional one that installs the snap.
Flatpak, Fedora, Arch
flatpak install flathub org.mozilla.firefox
sudo dnf install firefox # Fedora
sudo pacman -S firefox # Arch Linux
sudo apt install firefox-esr # Debian: ESR from the repositories
Regular or ESR?
The regular version gets new features every month. ESR changes once a year and is preferred in companies and on systems where extensions and settings must not change unexpectedly. Check your version in Menu → Help → About Firefox or with firefox --version.
Change the interface language
Open Settings → General → Language, click Set Alternatives and add a language; Firefox downloads the language pack and restarts in it. Distribution packages also offer language packs as separate packages, for example firefox-l10n-de from the Mozilla repository or firefox-esr-l10n-ru in Debian. Dictionaries for spell checking are installed the same way from the add-ons site.
Privacy settings worth changing
- Enhanced Tracking Protection → Strict: blocks trackers, cross-site cookies and fingerprinting scripts.
- HTTPS-Only Mode: in Privacy & Security, so Firefox never loads pages over plain HTTP without asking.
- DNS over HTTPS: in Network Settings, if your network does not filter DNS for you.
- uBlock Origin: the most efficient ad and tracker blocker; Firefox still supports its full version.
Containers and profiles for several accounts
The Multi-Account Containers extension opens tabs in separate containers with their own cookies, so you can be logged into two accounts of one site in the same window. For fully separate settings and extensions, create profiles: run firefox -P or open about:profiles.
Containers and profiles separate cookies, but every one of them shows the same browser fingerprint: screen, fonts, graphics card, time zone. Websites that fight multi-accounting link such accounts easily. For that job people use anti-detect browsers, which give every profile its own fingerprint and proxy; Multilogin X and Vision have Linux versions.
Common problems
- Video does not play or uses the CPU: install codecs (
ffmpegorlibavcodec-extra) and check hardware decoding inabout:support. - Blurry fonts or wrong scaling on Wayland: current versions run natively on Wayland; set
MOZ_ENABLE_WAYLAND=1only on old versions. - Firefox is slow: try Refresh Firefox in
about:support: it keeps bookmarks and passwords but removes extensions and settings.
New to Flatpak? See why and how to use Flatpak for third-party apps: setup, commands and permissions.
Other browsers
If you prefer Chromium-based browsers, see Chromium on Ubuntu, Google Chrome on Debian and Yandex Browser for Linux. A light GNOME alternative is GNOME Web (Epiphany).
Installing Chrome on another distribution? See how to install Google Chrome on Ubuntu, Debian, Fedora and Arch.
Need a fast cloud server for a few hours or days? Deploy an isolated testing environment, run your scripts, and destroy it without any monthly commitments. Secure payments via Crypto (USDT) & PayPal supported.
• Exclusive Welcome Bonus: Get an extra 15% on your first balance top-up within 24 hours after registration.
• Best-in-class Storage VDS configurations with huge disk space for heavy data testing.
• High-speed hardware platform with a stable presence in the Netherlands (Europe).







