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

How to Fix VMware’s “Could not open /dev/vmmon” Error on Ubuntu

You’ve recently installed VMware Workstation on your Ubuntu system and encountered the frustrating “Could not…

8 hours ago

How to Fix Ubuntu 404 Errors While Fetching Dependencies

Have you ever found yourself staring at a terminal full of 404 errors while trying…

8 hours ago

How to Fix ‘Please Install All Available Updates’ Error When Upgrading Ubuntu 18.04 to 20.04 LTS

One particularly frustrating error that many users face when trying to upgrade from Ubuntu 18.04 …

8 hours ago

How to fix “Release is not valid yet” Error in Docker Containers

In the world of containerization, time synchronization issues can create unexpected roadblocks when working with…

8 hours ago

How to fix “Externally Managed Environment” Pip Errors on Ubuntu

If you’ve recently upgraded to Ubuntu 23.04 or newer, you might have encountered a frustrating…

8 hours ago

Ubuntu now officially supports NVIDIA Jetson: powering the future of AI at the edge

Canonical announces the General Availability of Ubuntu for the NVIDIA® Jetson Orin™ for edge AI…

15 hours ago