From 2911eba236bbacc95ac94111c86d993943f22421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 19 Dec 2023 19:17:44 +0800 Subject: [PATCH] documentation: Update package managers --- docs/installation/package-manager.md | 36 ++++++++++++++++--------- docs/installation/package-manager.zh.md | 32 +++++++++++++--------- 2 files changed, 44 insertions(+), 24 deletions(-) diff --git a/docs/installation/package-manager.md b/docs/installation/package-manager.md index 6ce1669d..c605ffb0 100644 --- a/docs/installation/package-manager.md +++ b/docs/installation/package-manager.md @@ -28,18 +28,18 @@ icon: material/package === ":material-linux: Linux" - | Type | Platform | Link | Command | Actively maintained | - |----------|--------------------|---------------------|------------------------------|---------------------| - | AUR | (Linux) Arch Linux | [sing-box][aur] ᴬᵁᴿ | `? -S sing-box` | :material-check: | - | nixpkgs | (Linux) NixOS | [sing-box][nixpkgs] | `nix-env -iA nixos.sing-box` | :material-check: | - | Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: | - | Alpine | (Linux) Alpine | [sing-box][alpine] | `apk add sing-box` | :material-alert: | + | Type | Platform | Link | Command | Actively maintained | + |----------|---------------|-------------------------|------------------------------|---------------------| + | APK | Alpine | [sing-box][alpine] | `apk add sing-box` | :material-check: | + | AUR | Arch Linux | [sing-box][aur] ᴬᵁᴿ | `? -S sing-box` | :material-check: | + | nixpkgs | NixOS | [sing-box][nixpkgs] | `nix-env -iA nixos.sing-box` | :material-check: | + | Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: | === ":material-apple: macOS" - | Type | Platform | Link | Command | Actively maintained | - |----------|---------------|------------------|-------------------------|---------------------| - | Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: | + | Type | Platform | Link | Command | Actively maintained | + |----------|----------|------------------|-------------------------|---------------------| + | Homebrew | macOS | [sing-box][brew] | `brew install sing-box` | :material-check: | === ":material-microsoft-windows: Windows" @@ -55,6 +55,12 @@ icon: material/package |------------|--------------------|---------------------|------------------------------|---------------------| | Termux | Android | [sing-box][termux] | `pkg add sing-box` | :material-check: | +=== ":material-freebsd: FreeBSD" + + | Type | Platform | Link | Command | Actively maintained | + |------------|----------|-------------------|------------------------|---------------------| + | FreshPorts | FreeBSD | [sing-box][ports] | `pkg install sing-box` | :material-alert: | + ## :material-book-multiple: Service Management For Linux systems with [systemd][systemd], usually the installation already includes a sing-box service, @@ -77,14 +83,20 @@ you can manage the service using the following command: [nixpkgs]: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/networking/sing-box/default.nix -[termux]: https://github.com/termux/termux-packages/tree/master/packages/sing-box - [brew]: https://formulae.brew.sh/formula/sing-box +[openwrt]: https://github.com/openwrt/packages/tree/master/net/sing-box + +[immortalwrt]: https://github.com/immortalwrt/packages/tree/master/net/sing-box + [choco]: https://chocolatey.org/packages/sing-box [scoop]: https://github.com/ScoopInstaller/Main/blob/master/bucket/sing-box.json [winget]: https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/SagerNet/sing-box -[systemd]: https://systemd.io/ \ No newline at end of file +[termux]: https://github.com/termux/termux-packages/tree/master/packages/sing-box + +[ports]: https://www.freshports.org/net/sing-box + +[systemd]: https://systemd.io/ diff --git a/docs/installation/package-manager.zh.md b/docs/installation/package-manager.zh.md index 3d2aee08..e3c40630 100644 --- a/docs/installation/package-manager.zh.md +++ b/docs/installation/package-manager.zh.md @@ -28,18 +28,18 @@ icon: material/package === ":material-linux: Linux" - | 类型 | 平台 | 链接 | 命令 | 活跃维护 | - |----------|--------------------|---------------------|------------------------------|------------------| - | AUR | (Linux) Arch Linux | [sing-box][aur] ᴬᵁᴿ | `? -S sing-box` | :material-check: | - | nixpkgs | (Linux) NixOS | [sing-box][nixpkgs] | `nix-env -iA nixos.sing-box` | :material-check: | - | Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: | - | Alpine | (Linux) Alpine | [sing-box][alpine] | `apk add sing-box` | :material-alert: | + | 类型 | 平台 | 链接 | 命令 | 活跃维护 | + |----------|------------|---------------------|------------------------------|------------------| + | Alpine | Alpine | [sing-box][alpine] | `apk add sing-box` | :material-check: | + | AUR | Arch Linux | [sing-box][aur] ᴬᵁᴿ | `? -S sing-box` | :material-check: | + | nixpkgs | NixOS | [sing-box][nixpkgs] | `nix-env -iA nixos.sing-box` | :material-check: | + | Homebrew | Linux | [sing-box][brew] | `brew install sing-box` | :material-check: | === ":material-apple: macOS" - | 类型 | 平台 | 链接 | 命令 | 活跃维护 | - |----------|---------------|------------------|-------------------------|------------------| - | Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: | + | 类型 | 平台 | 链接 | 命令 | 活跃维护 | + |----------|-------|------------------|-------------------------|------------------| + | Homebrew | macOS | [sing-box][brew] | `brew install sing-box` | :material-check: | === ":material-microsoft-windows: Windows" @@ -55,6 +55,12 @@ icon: material/package |--------|---------|--------------------|--------------------|------------------| | Termux | Android | [sing-box][termux] | `pkg add sing-box` | :material-check: | +=== ":material-freebsd: FreeBSD" + + | 类型 | 平台 | 链接 | 命令 | 活跃维护 | + |------------|---------|-------------------|------------------------|------------------| + | FreshPorts | FreeBSD | [sing-box][ports] | `pkg install sing-box` | :material-alert: | + ## :material-book-multiple: 服务管理 对于带有 [systemd][systemd] 的 Linux 系统,通常安装已经包含 sing-box 服务, @@ -77,8 +83,6 @@ icon: material/package [nixpkgs]: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/networking/sing-box/default.nix -[termux]: https://github.com/termux/termux-packages/tree/master/packages/sing-box - [brew]: https://formulae.brew.sh/formula/sing-box [choco]: https://chocolatey.org/packages/sing-box @@ -87,4 +91,8 @@ icon: material/package [winget]: https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/SagerNet/sing-box -[systemd]: https://systemd.io/ \ No newline at end of file +[termux]: https://github.com/termux/termux-packages/tree/master/packages/sing-box + +[ports]: https://www.freshports.org/net/sing-box + +[systemd]: https://systemd.io/