Skip to content

Commit 96fe761

Browse files
committed
Don't use gpg in Debian instruction
It's not really necessary, since apt can work with the keyring file hosted on cli.github.com.
1 parent cbd6569 commit 96fe761

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/install_linux.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ our release schedule.
1414
Install:
1515

1616
```bash
17-
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
17+
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
1818
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
1919
sudo apt update
2020
sudo apt install gh
2121
```
2222

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`.
24-
2523
Upgrade:
2624

2725
```bash

0 commit comments

Comments
 (0)