Skip to content

Instantly share code, notes, and snippets.

@MajliTech
Created March 3, 2024 17:43
Show Gist options
  • Save MajliTech/371d21b2a54c7d47a5863d819fad4f99 to your computer and use it in GitHub Desktop.
Save MajliTech/371d21b2a54c7d47a5863d819fad4f99 to your computer and use it in GitHub Desktop.
Install librewolf
#!/bin/bash
sudo apt update && sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates
distro=$(if echo " una bookworm vanessa focal jammy bullseye vera uma " | grep -q " $(lsb_release -sc) "; then lsb_release -sc; else echo focal; fi)
wget -O- https://deb.librewolf.net/keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg
sudo tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null
Types: deb
URIs: https://deb.librewolf.net
Suites: $distro
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/librewolf.gpg
EOF
sudo apt update
sudo apt install librewolf -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment