34 lines
894 B
Markdown
34 lines
894 B
Markdown
On AlmaLinux 10, use `dnf`. AlmaLinux 10 still uses DNF 4, so the HashiCorp/RHEL instructions translate cleanly. RHEL 10 documentation also uses `dnf` for package and repository management. :chatgpt-content-reference{index="0"}
|
|
|
|
For the Vault Enterprise install shown in your screenshot:
|
|
|
|
```bash
|
|
# Install repository-management tools
|
|
sudo dnf install -y dnf-plugins-core
|
|
|
|
# Add the official HashiCorp RHEL repository
|
|
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
|
|
|
|
# Install Vault Enterprise
|
|
sudo dnf install -y vault
|
|
```
|
|
|
|
You can verify that the repository was added:
|
|
|
|
```bash
|
|
dnf repolist | grep -i hashicorp
|
|
```
|
|
|
|
And verify Vault:
|
|
|
|
```bash
|
|
vault version
|
|
```
|
|
|
|
So the screenshot effectively becomes:
|
|
|
|
```text
|
|
yum install → dnf install
|
|
yum-config-manager → dnf config-manager
|
|
yum -y install ... → dnf install -y ...
|
|
``` |