Skip to content

Commit 78669ce

Browse files
authored
docs: add librewolf (#65)
* docs: add librewolf * librewolf: add zh.yaml and drop gpg --dearmor - Add librewolf/zh.yaml so the page is included in the generated site. - keyring.gpg is already a binary OpenPGP keyring; gpg --dearmor fails on it with "no valid OpenPGP data found". Save it directly instead.
1 parent 9016fa4 commit 78669ce

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

‎librewolf/librewolf.zh.md‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
LibreWolf 是基于 Firefox 的开源桌面浏览器,注重隐私、安全与自由。此处镜像其官方 apt/dnf 软件仓库(amd64、arm64)。
2+
3+
### Debian / Ubuntu 用户
4+
5+
导入 GPG 公钥:
6+
7+
```{ztmpl lang="bash"}
8+
wget -qO- {{endpoint}}/keyring.gpg | sudo tee /usr/share/keyrings/librewolf.gpg > /dev/null
9+
```
10+
11+
将以下内容写入 `/etc/apt/sources.list.d/librewolf.list`:
12+
13+
```{ztmpl lang="properties" path="/etc/apt/sources.list.d/librewolf.list"}
14+
deb [signed-by=/usr/share/keyrings/librewolf.gpg] {{endpoint}} librewolf main
15+
```
16+
17+
然后执行:
18+
19+
```bash
20+
sudo apt update
21+
sudo apt install librewolf
22+
```
23+
24+
### RHEL / Fedora 用户
25+
26+
新建 `/etc/yum.repos.d/librewolf.repo`,内容如下:
27+
28+
```{ztmpl lang="ini" path="/etc/yum.repos.d/librewolf.repo"}
29+
[librewolf]
30+
name=LibreWolf Software Repository
31+
baseurl={{endpoint}}
32+
gpgcheck=1
33+
repo_gpgcheck=1
34+
gpgkey={{endpoint}}/pubkey.gpg
35+
enabled=1
36+
```
37+
38+
然后执行 `sudo dnf install librewolf`。
39+
40+
参考文档:https://librewolf.net/installation/

‎librewolf/zh.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_: LibreWolf 软件仓库
2+
block:
3+
- librewolf

0 commit comments

Comments
 (0)