Skip to content

Commit 158e277

Browse files
committed
doc: minor update to installation doc
1. Replace yum by dnf. 2. Add zip to installation dependencies as it's really needed and not installed by default. 3. Update requitred golang version in does base what is currently in go.mod.
1 parent 8453641 commit 158e277

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/dev/dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The following dependencies must be installed on your system before you can build
77
### Fedora, CentOS, RHEL
88

99
```sh
10-
sudo yum install golang-bin gcc-c++
10+
sudo dnf install golang-bin gcc-c++ zip
1111
```
1212

1313
If you need support for [libvirt destroy](libvirt/README.md#cleanup), you should also install `libvirt-devel`.
@@ -18,7 +18,7 @@ We follow a hard flattening approach; i.e. direct and inherited dependencies are
1818

1919
Dependencies are managed with [Go Modules](https://github.com/golang/go/wiki/Modules) but committed directly to the repository.
2020

21-
We require at least Go 1.20.
21+
We require at least Go 1.22.
2222

2323
- Add or update a dependency with `go get <dependency>@<version>`.
2424
- If you want to use a fork of a project or ensure that a dependency is not updated even when another dependency requires a newer version of it, manually add a [replace directive in the go.mod file](https://github.com/golang/go/wiki/Modules#when-should-i-use-the-replace-directive).

docs/dev/libvirt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repository to ensure you get a new enough version of qemu-kvm.
3737
On Fedora, CentOS/RHEL:
3838

3939
```sh
40-
sudo yum install libvirt-devel libvirt-daemon-kvm libvirt-client
40+
sudo dnf install libvirt-devel libvirt-daemon-kvm libvirt-client
4141
```
4242

4343
Then start libvirtd:

0 commit comments

Comments
 (0)