Include dnf5 commands
This commit is contained in:
parent
c843dddf0d
commit
4de63ac75b
1 changed files with 14 additions and 0 deletions
|
|
@ -43,6 +43,20 @@ sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.re
|
|||
sudo dnf install gh --repo gh-cli
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>Show dnf5 commands</summary>
|
||||
|
||||
If you're using `dnf5`, commands will vary slightly:
|
||||
|
||||
```bash
|
||||
sudo dnf5 install dnf5-plugins
|
||||
sudo dnf5 config-manager addrepo --from-repofile=https://cli.github.com/packages/rpm/gh-cli.repo
|
||||
sudo dnf5 install gh --repo gh-cli
|
||||
```
|
||||
|
||||
For more details, check out the [`dnf5 config-manager` documentation](https://dnf5.readthedocs.io/en/latest/dnf5_plugins/config-manager.8.html).
|
||||
</details>
|
||||
|
||||
Alternatively, install from the [community repository](https://packages.fedoraproject.org/pkgs/gh/gh/):
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue