From 09756a834b78e01ca31845940119a62e0ee674b4 Mon Sep 17 00:00:00 2001 From: septs Date: Fri, 14 Jun 2024 17:47:11 +0800 Subject: [PATCH] docs: add linux dist (#116) * docs: add linux dist * docs: add caution section * docs: accept review * docs: update openwrt available version * docs: improve installation command hinting --- README.md | 1 + docs/LINUX-DIST.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 docs/LINUX-DIST.md diff --git a/README.md b/README.md index 7941ca2..5b96ced 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Features: You can download lpac from [GitHub Release][latest], and read [USAGE](docs/USAGE.md) to use it. If you can't run it you need to compile by yourself, see also [DEVELOPERS](docs/DEVELOPERS.md). +If you want to known which Linux distributions include lpac, see also [LINUX-DIST](docs/LINUX-DIST.md). If you have any issue, please read [FAQ](docs/FAQ.md) first. [latest]: https://github.com/estkme-group/lpac/releases/latest diff --git a/docs/LINUX-DIST.md b/docs/LINUX-DIST.md new file mode 100644 index 0000000..1fe87f5 --- /dev/null +++ b/docs/LINUX-DIST.md @@ -0,0 +1,50 @@ +# Linux distributions + +> [!CAUTION] +> +> **All Linux distribution packages are unofficially maintained.** + +## OpenWrt + +> Minimum available release: Snapshot +> (Added on 2024-05-15) + +```shell +opkg install lpac +``` + +see + +## Alpine + +> Minimum available release: [v3.20.0](https://pkgs.alpinelinux.org/packages?name=lpac&branch=v3.20) +> (Release date: 2024-05-22). + +```shell +pkg install lpac +``` + +see + +## Arch Linux + +> Need to enable [archlinuxcn repo](https://github.com/archlinuxcn/repo#readme) first + +```shell +pacman -S lpac +# or +pacman -S lpac-git +``` + +see \ +see + +## Nix OS + +> Need to enable [NUR](https://github.com/nix-community/NUR#readme "Nix User Repository") first + +```shell +nix-env -i lpac +``` + +see