mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
feat: add freebsd installation (#1260)
Signed-off-by: Yuvraj <evalsocket@gmail.com> Co-authored-by: Janos <86970079+janosdebugs@users.noreply.github.com>
This commit is contained in:
parent
2d08241b8f
commit
ee72400176
30
website/docs/intro/install/bsd.mdx
Normal file
30
website/docs/intro/install/bsd.mdx
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
sidebar_label: FreeBSD
|
||||
description: |-
|
||||
Install OpenTofu on FreeBSD.
|
||||
---
|
||||
|
||||
import CodeBlock from '@theme/CodeBlock';
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
import ApkConvenienceScript from '!!raw-loader!./alpine-convenience.sh'
|
||||
import ApkManualScript from '!!raw-loader!./alpine-manual.sh'
|
||||
|
||||
# Installing OpenTofu on FreeBSD
|
||||
|
||||
OpenTofu is available for FreeBSD and can be installed using the [pkg](https://pkgs.org/download/opentofu) and [port](https://cgit.freebsd.org/ports/commit/?id=f49b835b51fd5d92138706c32523c6f361740eac) system or by downloading the package directly.
|
||||
|
||||
## Installing using the pkg
|
||||
|
||||
```bash
|
||||
pkg update -f
|
||||
pkg install opentufu
|
||||
```
|
||||
|
||||
## Installing the port
|
||||
|
||||
```bash
|
||||
portsnap fetch extract
|
||||
make -C /usr/ports/sysutils/opentofu install clean
|
||||
```
|
@ -11,55 +11,53 @@ import DocCardList from "@theme/DocCardList";
|
||||
You can install OpenTofu via a wide range of methods. Please select your operating system and installation method:
|
||||
|
||||
<DocCardList
|
||||
items={[
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/alpine",
|
||||
label: "Alpine Linux (.apk)",
|
||||
description:
|
||||
"Install OpenTofu from an .apk package directly.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/deb",
|
||||
label: "Debian Linux and derivatives (.deb)",
|
||||
description:
|
||||
"Install OpenTofu on Debian, Ubuntu, or any other .deb-based Linux distribution using your package manager.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/rpm",
|
||||
label: "RHEL and derivatives (.rpm)",
|
||||
description:
|
||||
"Install OpenTofu on RHEL, openSUSE, AlmaLinux or any other .rpm-based Linux distribution using your package manager.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/fedora",
|
||||
label: "Fedora",
|
||||
description:
|
||||
"Install OpenTofu on Fedora using your package manager.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/snap",
|
||||
label: "Ubuntu Linux (Snap)",
|
||||
description:
|
||||
"Install OpenTofu on Ubuntu, Manjaro, or any other Linux distribution using Snap.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/homebrew",
|
||||
label: "MacOS or Linux (Homebrew)",
|
||||
description:
|
||||
"Install OpenTofu on MacOS or Linux using Homebrew.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/standalone",
|
||||
label: "Standalone (Linux/MacOS/Windows)",
|
||||
description:
|
||||
"Use OpenTofu without installation on Linux, MacOS, or Windows.",
|
||||
},
|
||||
]}
|
||||
items={[
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/alpine",
|
||||
label: "Alpine Linux (.apk)",
|
||||
description: "Install OpenTofu from an .apk package directly.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/deb",
|
||||
label: "Debian Linux and derivatives (.deb)",
|
||||
description:
|
||||
"Install OpenTofu on Debian, Ubuntu, or any other .deb-based Linux distribution using your package manager.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/rpm",
|
||||
label: "RHEL and derivatives (.rpm)",
|
||||
description:
|
||||
"Install OpenTofu on RHEL, Fedora, openSUSE, or any other .rpm-based Linux distribution using your package manager.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/snap",
|
||||
label: "Ubuntu Linux (Snap)",
|
||||
description:
|
||||
"Install OpenTofu on Ubuntu, Manjaro, or any other Linux distribution using Snap.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/homebrew",
|
||||
label: "MacOS or Linux (Homebrew)",
|
||||
description: "Install OpenTofu on MacOS or Linux using Homebrew.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/bsd",
|
||||
label: "FreeBSD",
|
||||
description:
|
||||
"Use OpenTofu without installation on FreeBSD.",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
href: "/docs/intro/install/standalone",
|
||||
label: "Standalone (Linux/MacOS/Windows/BSD)",
|
||||
description:
|
||||
"Use OpenTofu without installation on Linux, MacOS, Windows or FreeBSD.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
@ -1246,4 +1246,4 @@ main() {
|
||||
}
|
||||
|
||||
main "$@"
|
||||
exit $?
|
||||
exit $?
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
sidebar_position: 99
|
||||
sidebar_label: Standalone (Linux/MacOS/Windows)
|
||||
sidebar_label: Standalone (Linux/MacOS/Windows/BSD)
|
||||
description: |-
|
||||
Use OpenTofu as a standalone binary without installation.
|
||||
---
|
||||
@ -22,7 +22,7 @@ import Admonition from '@theme/Admonition';
|
||||
## Using the installer script
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="posix" label="Linux/MacOS/Unix (POSIX)">
|
||||
<TabItem value="posix" label="Linux/MacOS/BSD/Unix (POSIX)">
|
||||
<CodeBlock language="bash">{LinuxScript}</CodeBlock>
|
||||
<Admonition type="info">The standalone installer verifies the integrity of the downloaded files. You need to install <a href="https://docs.sigstore.dev/system_config/installation/">cosign</a>, <a href="https://gnupg.org/">GnuPG</a>, or disable the integrity verification by using the <code>--skip-verify</code> option.</Admonition>
|
||||
</TabItem>
|
||||
@ -69,7 +69,7 @@ Please download the `tofu_YOURVERSION_SHA256SUMS` file from the release. This fi
|
||||
After you have verified the checksums, you can verify the integrity of the checksum file itself with [Cosign](https://docs.sigstore.dev/system_config/installation/). Please make sure you have installed Cosign and download the `tofu_YOURVERSION_SHA256SUMS.pem` and `tofu_YOURVERSION_SHA256SUMS.sig` files for your release. You can then run the integrity verification:
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="posix" label="Linux/MacOS/UNIX (POSIX)">
|
||||
<TabItem value="posix" label="Linux/MacOS/BSD/UNIX (POSIX)">
|
||||
<CodeBlock language="bash">{VerifyCosignLinux}</CodeBlock>
|
||||
</TabItem>
|
||||
<TabItem value="powershell" label="Windows (PowerShell)">
|
||||
|
Loading…
Reference in New Issue
Block a user