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
This commit is contained in:
septs 2024-06-14 17:47:11 +08:00 committed by GitHub
parent e7445eea41
commit 09756a834b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 51 additions and 0 deletions

View file

@ -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

50
docs/LINUX-DIST.md Normal file
View file

@ -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 <https://github.com/openwrt/packages/blob/master/utils/lpac/Makefile>
## 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 <https://github.com/alpinelinux/aports/blob/master/community/lpac/APKBUILD>
## Arch Linux
> Need to enable [archlinuxcn repo](https://github.com/archlinuxcn/repo#readme) first
```shell
pacman -S lpac
# or
pacman -S lpac-git
```
see <https://github.com/archlinuxcn/repo/blob/master/archlinuxcn/lpac/PKGBUILD> \
see <https://github.com/archlinuxcn/repo/blob/master/archlinuxcn/lpac-git/PKGBUILD>
## Nix OS
> Need to enable [NUR](https://github.com/nix-community/NUR#readme "Nix User Repository") first
```shell
nix-env -i lpac
```
see <https://github.com/nix-community/nur-combined/blob/master/repos/linyinfeng/pkgs/lpac/default.nix>