From ed50de2ef8d78ae2d9f777e4dd562af87a6573f4 Mon Sep 17 00:00:00 2001 From: Integral Date: Sun, 16 Jun 2024 06:48:23 +0000 Subject: [PATCH] docs: update arch installation (#531) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com> Co-authored-by: mzz <2017@duck.com> --- docs/en/README.md | 31 +++++++++++++++++++++++++------ docs/zh/README.md | 31 +++++++++++++++++++++++++------ 2 files changed, 50 insertions(+), 12 deletions(-) diff --git a/docs/en/README.md b/docs/en/README.md index a15b76f..70115bc 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -76,19 +76,38 @@ Check them using command like: dae has been released on [AUR](https://aur.archlinux.org/packages/dae) and [archlinuxcn](https://github.com/archlinuxcn/repo/tree/master/archlinuxcn/dae). -#### Install by AUR Helper +#### AUR + +##### Latest Release ```shell [yay/paru] -S dae ``` -#### Install Manually +##### Latest Git Version ```shell -pacman -S --needed git base-devel -git clone https://aur.archlinux.org/dae.git -cd dae -makepkg -si +[yay/paru] -S dae-git +``` + +#### archlinuxcn + +##### Latest Release (Optimized for x86-64 v3) + +```shell +sudo pacman -S dae-bin-x64-v3 +``` + +##### Latest Release (General x86-64 or aarch64) + +```shell +sudo pacman -S dae +``` + +##### Latest Git Version + +```shell +sudo pacman -S dae-git ``` After installation, use systemctl to control it. diff --git a/docs/zh/README.md b/docs/zh/README.md index 9410882..4dd5054 100644 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -72,19 +72,38 @@ CONFIG_BPF_EVENTS=y dae 已发布于 [AUR](https://aur.archlinux.org/packages/dae) 和 [archlinuxcn](https://github.com/archlinuxcn/repo/tree/master/archlinuxcn/dae),使用下述命令安装: -#### 使用 AUR 助手安装 +#### AUR + +##### 最新稳定版 ```shell [yay/paru] -S dae ``` -#### 手动编译安装 +##### 最新 Git 版 ```shell -pacman -S --needed git base-devel -git clone https://aur.archlinux.org/dae.git -cd dae -makepkg -si +[yay/paru] -S dae-git +``` + +#### archlinuxcn + +##### 最新稳定版 (针对 x86-64 v3 优化) + +```shell +sudo pacman -S dae-bin-x64-v3 +``` + +##### 最新稳定版 (x86-64 或 aarch64 通用版) + +```shell +sudo pacman -S dae +``` + +##### 最新 Git 版 + +```shell +sudo pacman -S dae-git ``` 安装后,使用 systemctl 对服务进行控制: