LibreWolf: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
== Main Debian Repository ==
== 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:
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>


  <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 apt update && sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates


  <code>wget -O- <nowiki>https://deb.librewolf.net/keyring.gpg</nowiki> | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg</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 tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null
  wget -O- <nowiki>https://deb.librewolf.net/keyring.gpg</nowiki> | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg
 
sudo tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null
  Types: deb
  Types: deb
  URIs: <nowiki>https://deb.librewolf.net</nowiki>
  URIs: <nowiki>https://deb.librewolf.net</nowiki>
Line 14: Line 15:
  Architectures: amd64
  Architectures: amd64
  Signed-By: /usr/share/keyrings/librewolf.gpg
  Signed-By: /usr/share/keyrings/librewolf.gpg
  EOF</code>
  EOF


  <code>sudo apt update</code>
  sudo apt update
 
sudo apt install librewolf -y


<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.
<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) ==
== 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:
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>
  ! [ -d /etc/apt/keyrings ] && sudo mkdir -p /etc/apt/keyrings && sudo chmod 755 /etc/apt/keyrings


  <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>
  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>sudo tee /etc/apt/sources.list.d/home_bgstack15_aftermozilla.sources << EOF > /dev/null
  sudo tee /etc/apt/sources.list.d/home_bgstack15_aftermozilla.sources << EOF > /dev/null
  Types: deb
  Types: deb
  URIs: <nowiki>https://download.opensuse.org/repositories/home:/bgstack15:/aftermozilla/Debian_Unstable/</nowiki>
  URIs: <nowiki>https://download.opensuse.org/repositories/home:/bgstack15:/aftermozilla/Debian_Unstable/</nowiki>
  Suites: /
  Suites: /
  Signed-By: /etc/apt/keyrings/home_bgstack15_aftermozilla.gpg
  Signed-By: /etc/apt/keyrings/home_bgstack15_aftermozilla.gpg
  EOF</code>
  EOF
 
sudo apt update


  <code>sudo apt update</code>
  sudo apt install librewolf -y


<code>sudo apt install librewolf -y</code>
You can also download the .deb files of these builds directly from the Open Build Service.
You can also download the .deb files of these builds directly from the Open Build Service.


== Removing the repositories from your system ==
==Removing the repositories from your system==
To remove all of the LibreWolf repositories from your system, run:
To remove all of the LibreWolf repositories from your system, run:
  <code>sudo rm -f \
  sudo rm -f \
     /etc/apt/sources.list.d/librewolf.sources \
     /etc/apt/sources.list.d/librewolf.sources \
     /etc/apt/keyrings/librewolf.gpg \
     /etc/apt/keyrings/librewolf.gpg \
Line 50: Line 53:
     /etc/apt/trusted.gpg.d/librewolf.gpg \
     /etc/apt/trusted.gpg.d/librewolf.gpg \
     /etc/apt/sources.list.d/home:bgstack15:aftermozilla.list \
     /etc/apt/sources.list.d/home:bgstack15:aftermozilla.list \
     /etc/apt/trusted.gpg.d/home_bgstack15_aftermozilla.gpg</code>
     /etc/apt/trusted.gpg.d/home_bgstack15_aftermozilla.gpg


==Source==
==Source==