Skip to content

Commit

Permalink
docs: update dnf config-manager usage (#35980)
Browse files Browse the repository at this point in the history
In Fedora Linux 41, which uses DNF5, backward compatibility with DNF4 was intentionally broken. The method for adding repositories via dnf config-manager has changed to use new sub-commands, such as addrepo.

Signed-off-by: Bruno Schaatsbergen [email protected]

Signed-off-by: Bruno Schaatsbergen [email protected]
  • Loading branch information
bschaatsbergen authored Nov 20, 2024
1 parent 3065fdb commit 3fc282b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/cli/install/yum.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ If you are using a DNF-based distribution, add the repository using

```bash
sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/$release/hashicorp.repo
sudo dnf config-manager addrepo --from-repofile=https://rpm.releases.hashicorp.com/$release/hashicorp.repo
```

In both cases, the Terraform package name is `terraform`. For example:
Expand Down
2 changes: 1 addition & 1 deletion website/docs/language/stacks/reference/tfstacks-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Run the following commands to install the `terraform-stacks-cli` using Fedora.

```shell-session
$ sudo dnf install -y dnf-plugins-core
$ sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
$ sudo dnf config-manager addrepo --from-repofile=https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
$ sudo dnf -y install terraform-stacks-cli
```

Expand Down

0 comments on commit 3fc282b

Please sign in to comment.