Add AUR support documents

[GitHub #57 #16]
This commit is contained in:
Terrasse 2024-08-29 16:19:53 +08:00 committed by GitHub
parent 4c9af41941
commit daa6df971f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 23 additions and 2 deletions

View File

@ -28,7 +28,7 @@
- [x] `Homebrew` - [x] `Homebrew`
- [x] `Scoop` - [x] `Scoop`
- [ ] `Flatpak` - [ ] `Flatpak`
- [ ] `AUR` - [x] `AUR`
- [ ] 缺乏其他平台/包维护者 - [ ] 缺乏其他平台/包维护者
<br> <br>
@ -75,6 +75,16 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windo
<details> <details>
<summary>Linux</summary> <summary>Linux</summary>
- 通过包管理器安装,支持持续更新。目前支持 `AUR`,其他平台欢迎[贡献](#-贡献)
```bash
# AUR
yay -S chsrc # binary from release
yay -S chsrc-git # build from source, the latest version, maybe unstable
```
- 手动下载二进制文件安装
```bash ```bash
# x64 # x64
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-linux -o chsrc; chmod +x ./chsrc curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-linux -o chsrc; chmod +x ./chsrc
@ -88,6 +98,7 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-riscv64-l
# armv7 # armv7
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-linux -o chsrc; chmod +x ./chsrc curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-linux -o chsrc; chmod +x ./chsrc
``` ```
</details> </details>
<details> <details>

View File

@ -4,7 +4,7 @@ https://github.com/RubyMetric/chsrc/issues/16
- [x] `Homebrew` - [x] `Homebrew`
- [x] `Scoop` - [x] `Scoop`
- [ ] `AUR` - [x] `AUR`
- [ ] `Flatpak` - [ ] `Flatpak`
- [ ] ... - [ ] ...
@ -12,6 +12,9 @@ https://github.com/RubyMetric/chsrc/issues/16
$ brew install chsrc $ brew install chsrc
$ scoop install chsrc $ scoop install chsrc
$ yay -S chsrc # binary from release
$ yay -S chsrc-git # build from source
``` ```
<br> <br>
@ -24,3 +27,9 @@ https://github.com/Homebrew/homebrew-core/blob/master/Formula/c/chsrc.rb
# Scoop # Scoop
https://github.com/ScoopInstaller/Main/blob/master/bucket/chsrc.json https://github.com/ScoopInstaller/Main/blob/master/bucket/chsrc.json
# AUR
[chsrc](https://aur.archlinux.org/packages/chsrc-git)从release打包的稳定发布版本
[chsrc-git](https://aur.archlinux.org/packages/chsrc-git):从最新源码构建的版本,可能不稳定

View File

@ -10,6 +10,7 @@
* | Shengwei Chen <414685209@qq.com> * | Shengwei Chen <414685209@qq.com>
* | BlockLune <blocklune@gmail.com> * | BlockLune <blocklune@gmail.com>
* | Mr. Will <mr.will.com@outlook.com> * | Mr. Will <mr.will.com@outlook.com>
* | Terrasse <terrasse@qq.com>
* | * |
* Created On : <2023-08-28> * Created On : <2023-08-28>
* Last Modified : <2024-08-29> * Last Modified : <2024-08-29>