From 354bac82b3a513a5796694de262129b40e12ece9 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Fri, 24 Dec 2021 18:43:22 +0800 Subject: [PATCH 1/3] Add Alpine Linux install docs --- docs/install_linux.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/install_linux.md b/docs/install_linux.md index b11c2faa9..eda70db95 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -179,6 +179,23 @@ openSUSE Tumbleweed users can install from the [official distribution repo](http sudo zypper in gh ``` +### Alpine Linux + +Alpine Linux users can install from the [stable releases' community packaage repository](https://pkgs.alpinelinux.org/packages?name=github-cli&branch=v3.15). + +```bash +apk add github-cli +``` + +Users wanting the latest version of the CLI without waiting to be backported into their stable release they're using should use the edge release's +community repo through this method below, without mixing packages from stable and unstable repos.[^1] + +```bash +echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories +apk add github-cli@community +``` + [releases page]: https://github.com/cli/cli/releases/latest [arch linux repo]: https://www.archlinux.org/packages/community/x86_64/github-cli [arch linux aur]: https://aur.archlinux.org/packages/github-cli-git +[^1]: https://wiki.alpinelinux.org/wiki/Package_management#Repository_pinning From f2e76bea5d90ed2f7ecfc8dabe6725d68e44ce8a Mon Sep 17 00:00:00 2001 From: nate smith Date: Tue, 25 Jan 2022 13:49:38 -0600 Subject: [PATCH 2/3] minor wording, arrangement --- docs/install_linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install_linux.md b/docs/install_linux.md index eda70db95..fe4a51ef2 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -187,7 +187,7 @@ Alpine Linux users can install from the [stable releases' community packaage rep apk add github-cli ``` -Users wanting the latest version of the CLI without waiting to be backported into their stable release they're using should use the edge release's +Users wanting the latest version of the CLI without waiting to be backported into the stable release they're using should use the edge release's community repo through this method below, without mixing packages from stable and unstable repos.[^1] ```bash @@ -195,7 +195,7 @@ echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/ap apk add github-cli@community ``` +[^1]: https://wiki.alpinelinux.org/wiki/Package_management#Repository_pinning [releases page]: https://github.com/cli/cli/releases/latest [arch linux repo]: https://www.archlinux.org/packages/community/x86_64/github-cli [arch linux aur]: https://aur.archlinux.org/packages/github-cli-git -[^1]: https://wiki.alpinelinux.org/wiki/Package_management#Repository_pinning From e51a4b5562288241f9d8def63d539d0097295383 Mon Sep 17 00:00:00 2001 From: nate smith Date: Tue, 25 Jan 2022 13:50:11 -0600 Subject: [PATCH 3/3] that did not work --- docs/install_linux.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install_linux.md b/docs/install_linux.md index fe4a51ef2..e5052b4a6 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -195,7 +195,7 @@ echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/ap apk add github-cli@community ``` -[^1]: https://wiki.alpinelinux.org/wiki/Package_management#Repository_pinning [releases page]: https://github.com/cli/cli/releases/latest [arch linux repo]: https://www.archlinux.org/packages/community/x86_64/github-cli [arch linux aur]: https://aur.archlinux.org/packages/github-cli-git +[^1]: https://wiki.alpinelinux.org/wiki/Package_management#Repository_pinning