mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-05 06:01:56 -04:00
Signed-off-by: ollevche <ollevche@gmail.com> Signed-off-by: Oleksandr Levchenkov <ollevche@gmail.com>
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
---
|
|
sidebar_position: 1
|
|
sidebar_label: Alpine Linux
|
|
description: |-
|
|
Install OpenTofu on Alpine Linux.
|
|
---
|
|
|
|
import CodeBlock from '@theme/CodeBlock';
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
import ApkConvenienceScript from '!!raw-loader!./examples/alpine-convenience.sh'
|
|
import ApkManualScript from '!!raw-loader!./examples/alpine-manual.sh'
|
|
|
|
# Installing OpenTofu on Alpine Linux
|
|
|
|
OpenTofu is available in the [Alpine Linux testing repository](https://pkgs.alpinelinux.org/packages?name=opentofu) or as an `.apk` package from the [GitHub releases page](https://github.com/opentofu/opentofu/releases/latest/).
|
|
|
|
## Installing using the installer
|
|
|
|
You can use the OpenTofu installer script to run the installation.
|
|
|
|
<CodeBlock language="bash">{ApkConvenienceScript}</CodeBlock>
|
|
|
|
## Installing the .apk
|
|
|
|
You can also [download the .apk](https://github.com/opentofu/opentofu/releases/latest/) and install it on your Alpine Linux. You can install the `.apk` package after downloading it:
|
|
|
|
```bash
|
|
apk add --allow-untrusted tofu_*.apk
|
|
```
|
|
|
|
## Installing from the testing repository
|
|
|
|
OpenTofu is currently available in the Alpine Testing repository and coming to Alpine stable. You can use the following commands to test Alpine installation.
|
|
|
|
<CodeBlock language="bash">{ApkManualScript}</CodeBlock>
|