Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Docs, HowTos, Tips & Tricks • [HowTo] Install Firefox as a .deb Package on Debian

$
0
0
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:

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

Code:

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:

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:

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:

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

Code:

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

Set up different languages in Firefox with .deb files


Source

Statistics: Posted by Alt+F4 — 2024-01-24 13:18



Viewing all articles
Browse latest Browse all 2849

Trending Articles