- Forum
- Linux Forums
- [Solved] Linux Debian: Install latest Firefox from a Mozilla repository
Advertisement: Linux VPS from $4/month - contact support for custom offer.
-
Administrator
Linux Debian: Install latest Firefox from a Mozilla repository
# Install latest mozilla repository and their latest Firefox:
sudo install -d -m 0755 /etc/apt/keyrings # Create a directory to store APT repository keys
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null # Import the Mozilla APT repository signing key
gpg -n -q --import --import-options import-show /etc/apt/keyrings/packages.mozilla.org.asc | awk '/pub/{getline; gsub(/^ +| +$/,""); if($0 == "35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3") print "\nThe key fingerprint matches ("$0").\n"; else print "\nVerification failed: the fingerprint ("$0") does not match the expected one.\n"}' # check fingerprint (35BAA...A3)
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 # insert repo
echo -e 'Package: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000' | sudo tee /etc/apt/preferences.d/mozilla # prefer mozilla packages from this new repo
sudo apt-get update
sudo apt-get install firefox
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Protected by : ZB
BLOCK & StopForumSpam
Bookmarks