mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 06:46:36 +01:00
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.
This commit is contained in:
@@ -7,7 +7,7 @@ The following dependencies must be installed on your system before you can build
|
||||
### Fedora, CentOS, RHEL
|
||||
|
||||
```sh
|
||||
sudo yum install golang-bin gcc-c++
|
||||
sudo dnf install golang-bin gcc-c++ zip
|
||||
```
|
||||
|
||||
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
|
||||
|
||||
Dependencies are managed with [Go Modules](https://github.com/golang/go/wiki/Modules) but committed directly to the repository.
|
||||
|
||||
We require at least Go 1.20.
|
||||
We require at least Go 1.22.
|
||||
|
||||
- Add or update a dependency with `go get <dependency>@<version>`.
|
||||
- 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).
|
||||
|
||||
@@ -37,7 +37,7 @@ repository to ensure you get a new enough version of qemu-kvm.
|
||||
On Fedora, CentOS/RHEL:
|
||||
|
||||
```sh
|
||||
sudo yum install libvirt-devel libvirt-daemon-kvm libvirt-client
|
||||
sudo dnf install libvirt-devel libvirt-daemon-kvm libvirt-client
|
||||
```
|
||||
|
||||
Then start libvirtd:
|
||||
|
||||
Reference in New Issue
Block a user