X Tutup
Skip to content

Commit 0366e04

Browse files
committed
Cleanup Linux installation docs
1 parent 1ec632b commit 0366e04

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

docs/install_linux.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,10 @@ the following CPU architectures: `i386`, `amd64`, `arm64`, `armhf`.
77
Other sources for installation are community-maintained and thus might lag behind
88
our release schedule.
99

10-
If none of our official binaries, packages, repositories, nor community sources work for you, we recommend using our `Makefile` to build `gh` from source. It's quick and easy.
11-
1210
## Official sources
1311

1412
### Debian, Ubuntu Linux (apt)
1513

16-
:warning: This will only work for the [architectures we officially support](/.goreleaser.yml#L27).
17-
18-
The below should work for any debian-based distribution. You can change `stable` to a specific codename [we support](/.github/workflows/releases.yml#L83) if that is your preference.
19-
2014
Install:
2115

2216
```bash
@@ -26,7 +20,7 @@ sudo apt update
2620
sudo apt install gh
2721
```
2822

29-
**Note**: If you get _"gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory"_ error, try installing the `dirmngr` package. Run `sudo apt-get install dirmngr` and repeat the steps above.
23+
**Note**: If you get the error _"gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory"_, try installing the `dirmngr` package: `sudo apt install dirmngr`.
3024

3125
Upgrade:
3226

@@ -72,16 +66,9 @@ sudo zypper update gh
7266
* [Download release binaries][releases page] that match your platform; or
7367
* [Build from source](./source.md).
7468

75-
### openSUSE/SUSE Linux (zypper)
76-
77-
Install and upgrade:
78-
79-
1. Download the `.rpm` file from the [releases page][];
80-
2. Install the downloaded file: `sudo zypper in gh_*_linux_amd64.rpm`
69+
## Unofficial, community-supported methods
8170

82-
## Unofficial, Community-supported methods
83-
84-
The core GitHub CLI team does not maintain the following packages or repositories. They are unofficial and we are unable to provide support or guarantees for them. They are linked here as a convenience and their presence does not imply continued oversight from the CLI core team. Users who choose to use them do so at their own risk.
71+
The GitHub CLI team does not maintain the following packages or repositories and thus we are unable to provide support for those installation methods.
8572

8673
### Snap (do not use)
8774

@@ -105,13 +92,6 @@ Android 7+ users can install via [Termux](https://wiki.termux.com/wiki/Main_Page
10592
pkg install gh
10693
```
10794

108-
### Homebrew (Linuxbrew)
109-
110-
Linuxbrew users can install it as a [brew package](https://formulae.brew.sh/formula/gh#default):
111-
```bash
112-
brew install gh
113-
```
114-
11595
### FreeBSD
11696

11797
FreeBSD users can install from the [ports collection](https://www.freshports.org/devel/gh/):

0 commit comments

Comments
 (0)
X Tutup