8
September
2025
Installing or updating Mozilla FireFox web browser from third-party APT repository "apt.fruit.je"
16:47

Installing or updating Mozilla FireFox web browser from third-party APT repository "apt.fruit.je"

8 September 2025 16:47

An article about updating Mozilla FireFox from a third-party repository "apt.fruit.je".

Warning

Updating from a third-party repository "apt.fruit.je" may be unsafe, since Mozilla is not responsible. But it contains a more recent version of FireFox - 142 versus 139. This method can be recommended for home use.

Introduction

The installation procedure from the Mozilla repository is described on the official website. This article discusses another installation method: from the repository - "apt.fruit.je".

In my case I had to switch to this repository because there was an error accessing the main Mozilla repository.

Description of the repository "apt.fruit.je"

This repository is maintained by a private person and contains the following packages

  • firefox - browser
  • mpv - player
  • others

See its root.

How to connect the "apt.fruit.je" repository to Ubuntu or Debian

1) install the GPG key

sudo curl --output-dir /etc/apt/trusted.gpg.d -O https://apt.fruit.je/fruit.gpg

2) create a description file fruit.list in the /etc/apt/sources.list.d/ folder

sudo nano /etc/apt/sources.list.d/fruit.list

With the contents for Ubuntu
deb http://apt.fruit.je/ubuntu jammy firefox

where jammy is replaced with the code name of your distribution, for example: noble.

Or with the contents for Debian

deb http://apt.fruit.je/debian bookworm firefox

3) provide a higher priority for the third-party repository, for which edit the file

sudo nano /etc/apt/preferences.d/mozilla

The contents of the file /etc/apt/preferences.d/mozilla:

Package: firefox*
Pin: release o=Fruit
Pin-Priority: 1001

Package: *
Pin: release o=Fruit
Pin-Priority: -1

The key name "o=Fruit" is obtained from the output of the command apt policy firefox, as described in the article on the site "Linux-terminal" Changing the priority of PPA repositories or Apt packages in Ubuntu.

4) Update the package cache with the command apt update

sudo apt update

5) Install a higher version of FireFox, with the command

sudo apt install firefox

6) During installation, the package for the Russian language "firefox-l10n-ru" will be removed and the first time you start FireFox will be in English.

You need to go to its settings "Edit-Preferences" and search for the keyword "Lang".

"Language
Choose the languages ​​used to display menus, messages, and notifications from Firefox."

Add the Russian language in this menu. by pressing the "Set alternatives" button.
lang0

Where we add the Russian language.
lang

All menus are translated into Russian.

Conclusion

This update method works and can be applied to other programs that need to be updated not from the central repository of the Linux Ubuntu or Debian operating system.



Related publications