Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux installation instructions #774

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 33 additions & 2 deletions content/en/docs/v3.5/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,44 @@ $ brew update
$ brew install etcd
```

3. Verify install
3. Verify install
```sh
$ etcd --version
```

## Linux

TBD
Although installing etcd through many major Linux distributions' official repositories and package managers is possible, the published versions can be significantly outdated. So, installing this way is strongly discouraged.

The recommended way to install etcd on Linux is either through [pre-built binaries](#install-pre-built-binaries) or by using Homebrew.

### Homebrew on Linux

[Homebrew can run on Linux], and can provide recent software versions.
jmhbnz marked this conversation as resolved.
Show resolved Hide resolved

- Prerequisites
- Update Homebrew:

```sh
ivanvc marked this conversation as resolved.
Show resolved Hide resolved
$ brew update
```

- Procedure
- Install using `brew`:

```sh
$ brew install etcd
```

- Result
- Verify installation by getting the version:

```sh
$ etcd --version
etcd Version: {{< psubstr git_version_tag 1 >}}
...
```

## Installation as part of Kubernetes installation

TBD---Help Wanted
Expand All @@ -115,3 +145,4 @@ For a slightly more involved sanity check of your installation, see
[tagged-release]: https://github.com/etcd-io/etcd/releases/tag/{{< param git_version_tag >}}
[Supported platforms]: {{< relref "op-guide/supported-platform" >}}
[Bitnami's etcd Helm chart]: https://bitnami.com/stack/etcd/helm
[Homebrew can run on Linux]: <https://docs.brew.sh/Homebrew-on-Linux>
34 changes: 32 additions & 2 deletions content/en/docs/v3.6/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,43 @@ $ brew update
$ brew install etcd
```

3. Verify install
3. Verify install
```sh
$ etcd --version
```

## Linux

TBD
Although installing etcd through many major Linux distributions' official repositories and package managers is possible, the published versions can be significantly outdated. So, installing this way is strongly discouraged.

The recommended way to install etcd on Linux is either through [pre-built binaries](#install-pre-built-binaries) or by using Homebrew.

### Homebrew on Linux

[Homebrew can run on Linux], and can provide recent software versions.

- Prerequisites
- Update Homebrew:

```sh
$ brew update
```

- Procedure
- Install using `brew`:

```sh
$ brew install etcd
```

- Result
- Verify installation by getting the version:

```sh
$ etcd --version
etcd Version: {{< psubstr git_version_tag 1 >}}
...
```

## Installation as part of Kubernetes installation

Expand All @@ -116,3 +145,4 @@ For a slightly more involved sanity check of your installation, see
[tagged-release]: https://github.com/etcd-io/etcd/releases/tag/{{< param git_version_tag >}}
[Supported platforms]: {{< relref "op-guide/supported-platform" >}}
[Bitnami's etcd Helm chart]: https://bitnami.com/stack/etcd/helm
[Homebrew can run on Linux]: <https://docs.brew.sh/Homebrew-on-Linux>