Skip to content

Commit 61c4799

Browse files
chore: revise installation guide of Arch-based distros (#14)
Co-authored-by: Slinetrac <[email protected]>
1 parent 10bfcdc commit 61c4799

File tree

1 file changed

+14
-35
lines changed

1 file changed

+14
-35
lines changed

docs/install.md

Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@
4949
sudo yum localinstall ./Clash.Verge_x.x.x-_xxx.rpm
5050
```
5151

52-
=== ":material-arch: ArchLinux/Manjaro/SteamDeck"
53-
=== "paru"
54-
55-
1. 安装 `paru`。
56-
52+
=== ":material-arch: Arch Linux/Manjaro/SteamOS"
53+
!!! warning
54+
不建议在 Manjaro、SteamOS 等 Arch 衍生发行版上使用 `[archlinuxcn]` 仓库。
55+
56+
=== "archlinuxcn"
57+
1. 添加 `[archlinuxcn]` 仓库。
58+
5759
1.1. 在 `/etc/pacman.conf` 文件中写入下列内容。
5860

5961
```
@@ -67,42 +69,19 @@
6769
1.2. 在终端运行下列命令。
6870

6971
```bash
70-
sudo pacman-key --lsign-key "[email protected]"
71-
sudo pacman -Sy archlinuxcn-keyring
72-
sudo pacman -S paru
72+
sudo pacman -S archlinuxcn-keyring
7373
```
7474

75-
2. 安装 `clash-verge-rev-bin`。
75+
2. 安装 `clash-verge-rev`。
7676

7777
```bash
78-
paru -S clash-verge-rev-bin
78+
sudo pacman -S clash-verge-rev
7979
```
80-
81-
=== "yay"
82-
3. 安装 `paru`。
83-
84-
1.1. 在 `/etc/pacman.conf` 文件中写入下列内容。
85-
86-
```
87-
[archlinuxcn]
88-
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
89-
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
90-
Server = https://mirrors.hit.edu.cn/archlinuxcn/$arch
91-
Server = https://repo.huaweicloud.com/archlinuxcn/$arch
92-
```
93-
94-
1.2. 在终端运行下列命令。
95-
96-
```bash
97-
sudo pacman-key --lsign-key "[email protected]"
98-
sudo pacman -Sy archlinuxcn-keyring
99-
sudo pacman -S yay
100-
```
101-
102-
4. 安装 `clash-verge-rev-bin`。
103-
80+
81+
=== "AUR"
10482
```bash
105-
yay -S clash-verge-rev-bin
83+
paru -S clash-verge-rev-bin # 适用于 paru
84+
yay -S clash-verge-rev-bin # 适用于 yay
10685
```
10786

10887
=== ":material-apple: macOS"

0 commit comments

Comments
 (0)