Categories: Ubuntu

How to Install Firefox Beta in Ubuntu / Debian [New Official Repository]

This simple tutorial shows how to install Firefox Beta, Firefox Developer Edition, or Firefox Nightly in Debian, Ubuntu, Linux Mint, using the new official repository.

Mozilla announced new official apt repository for Debian and Ubuntu users few months ago, which contains the .deb package for Firefox Nightly build.

Now, the repository also contains packages for Firefox Beta and Firefox Developer Edition! And, here’s step by step guide shows how to use it to install the latest packages in your system.

NOTE 1: Ubuntu also has an official PPA contains Firefox Beta package. Though, it’s maintained by members from Ubuntu Team.
NOTE

Sponsored
2: This tutorial is tested and works in Debian 12, Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 23.10.

Step 1: Install the Repository Key

To add the new repository, you need to first download & install the key, so your system will trust the packages from it.

First, open terminal either from start menu or by pressing Ctrl+Alt+T on keyboard.

When terminal opens, run command to make sure ‘/etc/apt/keyrings’ exist for storing the keys.

sudo mkdir -p /etc/apt/keyrings

Then, download & install the key by running the single command below in terminal:

wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null

If ‘wget’ command not found, run sudo apt install wget to install it.

After that, you can verify the new key file by listing the content of that directory: ls /etc/apt/keyrings.

Step 2: Add Mozilla’s Official Repository

Also in a terminal window, run the single command below will create a config file and write the source repository.

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 > /dev/null

When done, you may verify by running cat /etc/apt/sources.list.d/mozilla.list to print the source file content.

Step 3: Install Firefox Beta or Dev

After adding the apt repository and key, run the command below to refresh system package cache:

Sponsored
sudo apt update

Finally, install Firefox Beta by running command:

sudo apt install firefox-beta

Or, install the firefox-devedition or firefox-nightly package for either dev or nightly version.

Non-English user may also install the language package by running command:

sudo apt install firefox-beta-l10n-xx

Replace xx with the shortcode for your language. Also, replace beta for dev or nightly version accordingly.

Step 4: (Optional) Change the App Name to Differ from Firefox Stable

The new Firefox Beta uses same logo to Firefox Stable, and it also displayed as “Firefox” in start menu.

If you have more than one edition of Firefox packages in system, then you may have to differ them from each other by changing the name.

To do so, first launch terminal (Ctrl+Alt+T) and run command to copy the .desktop config file from system to local directory:

sudo cp /usr/share/applications/firefox-beta.desktop ~/.local/share/applications/

Then, change the app name to “Firefox Beta” by running command:

desktop-file-edit --set-name="Firefox Beta" ~/.local/share/applications/firefox-beta.desktop

The change should apply automatically in few seconds. If not, run sudo update-desktop-database to update the database manually.

If you also want to differ the icon, use --set-icon='/path/to/new/icon' in last command.

The post How to Install Firefox Beta in Ubuntu / Debian [New Official Repository] appeared first on Osgrove.

Ubuntu Server Admin

Recent Posts

CRA compliance: Things IoT manufacturers can no longer do under the CRA (and what to do instead)

I’ve written about the EU Cyber Resilience Act (CRA) on our Canonical blog a few…

13 hours ago

IBM LinuxONE 5 and Ubuntu Server, a great combination from day one

Today, IBM announced the launch of their latest server: the new IBM LinuxONE Emperor 5.…

2 days ago

Ubuntu Weekly Newsletter Issue 890

Welcome to the Ubuntu Weekly Newsletter, Issue 890 for the week of April 27 –…

2 days ago

Ubuntu IoT Day in Singapore – Unlock compliant and scalable innovation in edge AI

Singapore | May 27, 2025 | Full-day event How do you build robust, performant edge…

3 days ago

Kolla Ansible OpenStack Installation (Ubuntu 24.04)

Kolla Ansible provides production-ready containers (here, Docker) and deployment tools for operating OpenStack clouds. This…

6 days ago

Canonical announces first Ubuntu Desktop image for Qualcomm Dragonwing™ Platform with Ubuntu 24.04

This public beta enables the full Ubuntu Desktop experience on the Qualcomm Dragonwing™ QCS6490 and…

7 days ago