Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[HowTo] Install Firefox as a .deb Package on Debian

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
Alt+F4
Posts: 2
Joined: 2023-09-14 11:32
Has thanked: 2 times
Been thanked: 3 times

[HowTo] Install Firefox as a .deb Package on Debian

#1 Post by Alt+F4 »

Starting with Firefox 122, Mozilla now provides official .deb packages for Linux users. To install the .deb package through the APT repository, do the following:

1. Create a directory to store APT repository keys if it doesn't exist:

Code: Select all

sudo install -d -m 0755 /etc/apt/keyrings
2. Import the Mozilla APT repository signing key:

Code: Select all

wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null
(If you do not have wget installed, you can install it with: sudo apt-get install wget)

3. The fingerprint should be 35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3:

Code: Select all

gpg -n -q --import --import-options import-show /etc/apt/keyrings/packages.mozilla.org.asc | awk '/pub/{getline; gsub(/^ +| +$/,""); print "\n"$0"\n"}'
4. Next, add the Mozilla APT repository to your sources list:

Code: Select all

echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null
5. Configure APT to prioritize packages from the Mozilla repository:

Code: Select all

echo '
Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1000
' | sudo tee /etc/apt/preferences.d/mozilla 
6. Update your package list and install the Firefox .deb package:

Code: Select all

sudo apt-get update && sudo apt-get install firefox 

Set up different languages in Firefox with .deb files


Source

Post Reply