Skip to content

Commit

Permalink
docs: add linux dist (#116)
Browse files Browse the repository at this point in the history
* docs: add linux dist

* docs: add caution section

* docs: accept review

* docs: update openwrt available version

* docs: improve installation command hinting
  • Loading branch information
septs committed Jun 14, 2024
1 parent e7445ee commit 09756a8
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
50 changes: 50 additions & 0 deletions docs/LINUX-DIST.md
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 09756a8

Please sign in to comment.