LibreWolf: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
  distro=$(if echo " bullseye focal impish uma una " | grep -q " $(lsb_release -sc) "; then echo $(lsb_release -sc); else echo focal; fi)
== Main Debian Repository ==
We have a Debian repository with which you can easily install and update LibreWolf. To add it to your system and install LibreWolf, run the following commands one by one:
  <code>sudo apt update && sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates</code>


  echo "deb [arch=amd64] <nowiki>http://deb.librewolf.net</nowiki> $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/librewolf.list
  <code>distro=$(if echo " una vanessa focal jammy bullseye vera uma" | grep -q " $(lsb_release -sc) "; then echo $(lsb_release -sc); else echo focal; fi)</code>


  sudo wget <nowiki>https://deb.librewolf.net/keyring.gpg</nowiki> -O /etc/apt/trusted.gpg.d/librewolf.gpg
  <code>wget -O- <nowiki>https://deb.librewolf.net/keyring.gpg</nowiki> | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg</code>


  sudo apt update
  <code>sudo tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null
Types: deb
URIs: <nowiki>https://deb.librewolf.net</nowiki>
Suites: $distro
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/librewolf.gpg
EOF</code>


  sudo apt install librewolf -y
  <code>sudo apt update</code>
 
<code>sudo apt install librewolf -y</code>
<blockquote>Attention. We only build LibreWolf for Debian 11, Ubuntu 20/21/22 and Mint 20.2/20.3/21. If you don't use one of those distros, the above commands will install the Ubuntu 20 build for you which may or may not work. If you want to manually choose a different distro's build, then change the first of the above commands to point at that distro. E.g. to install the Debian 11 build, run distro=bullseye.</blockquote>Also note that we only build for the amd64 (a.k.a. x86_64) architecture. To determine your architecture, run the uname -m command. Most desktop and laptop computers are x86_64; notable exceptions include M1 Macs and Raspberry Pis, as well as very old computers that don't support 64-bit operating systems.
 
== Debian Unstable (unofficial) ==
There is also an independent and unofficial repository available for Debian Unstable. You can add it to your system and install LibreWolf by running the following commands:
<code>! [ -d /etc/apt/keyrings ] && sudo mkdir -p /etc/apt/keyrings && sudo chmod 755 /etc/apt/keyrings</code>
 
<code>wget -O- <nowiki>https://download.opensuse.org/repositories/home:/bgstack15:/aftermozilla/Debian_Unstable/Release.key</nowiki> | sudo gpg --dearmor -o /etc/apt/keyrings/home_bgstack15_aftermozilla.gpg</code>
 
<code>sudo tee /etc/apt/sources.list.d/home_bgstack15_aftermozilla.sources << EOF > /dev/null
Types: deb
URIs: <nowiki>https://download.opensuse.org/repositories/home:/bgstack15:/aftermozilla/Debian_Unstable/</nowiki>
Suites: /
Signed-By: /etc/apt/keyrings/home_bgstack15_aftermozilla.gpg
EOF</code>
 
<code>sudo apt update</code>
 
<code>sudo apt install librewolf -y</code>
You can also download the .deb files of these builds directly from the Open Build Service.
 
== Removing the repositories from your system ==
To remove all of the LibreWolf repositories from your system, run:
<code>sudo rm -f \
    /etc/apt/sources.list.d/librewolf.sources \
    /etc/apt/keyrings/librewolf.gpg \
    /etc/apt/preferences.d/librewolf.pref \
    /etc/apt/sources.list.d/home_bgstack15_aftermozilla.sources \
    /etc/apt/keyrings/home_bgstack15_aftermozilla.gpg \
    /etc/apt/sources.list.d/librewolf.list \
    /etc/apt/trusted.gpg.d/librewolf.gpg \
    /etc/apt/sources.list.d/home:bgstack15:aftermozilla.list \
    /etc/apt/trusted.gpg.d/home_bgstack15_aftermozilla.gpg</code>


==Source==
==Source==