Add instructions for yum (e.g. Amazon Linux 2)
Installing with `yum` works similar to `dnf` - I haven't had any issues so far.
This commit is contained in:
parent
55edf2ae7b
commit
e7e2c8e3ab
1 changed files with 18 additions and 0 deletions
|
|
@ -53,6 +53,24 @@ Upgrade:
|
|||
sudo dnf update gh
|
||||
```
|
||||
|
||||
### Amazon Linux 2 (yum)
|
||||
|
||||
Install using our package repository for immediate access to latest releases:
|
||||
|
||||
```bash
|
||||
sudo yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
|
||||
sudo yum install gh
|
||||
```
|
||||
|
||||
> **Note**
|
||||
> We were recently forced to change our GPG signing key. If you've added the repository previously and now you're getting a GPG signing key error, disable the repository first with `sudo yum-config-manager --disable gh-cli` and add it again with `sudo yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo`.
|
||||
|
||||
Upgrade:
|
||||
|
||||
```bash
|
||||
sudo yum update gh
|
||||
```
|
||||
|
||||
### openSUSE/SUSE Linux (zypper)
|
||||
|
||||
Install:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue