Skip to content

Commit

Permalink
Add Linux installation instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Valdes <ivan@vald.es>
  • Loading branch information
ivanvc committed May 7, 2024
1 parent 7c1f764 commit 33d9e4e
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 4 deletions.
36 changes: 34 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 are 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

TBD---Help Wanted
Expand All @@ -115,3 +145,5 @@ 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
[Arch User Repository (AUR)]: <https://wiki.archlinux.org/title/Arch_User_Repository>
[Homebrew can run on Linux]: <https://docs.brew.sh/Homebrew-on-Linux>
35 changes: 33 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 are 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,5 @@ 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
[Arch User Repository (AUR)]: <https://wiki.archlinux.org/title/Arch_User_Repository>
[Homebrew can run on Linux]: <https://docs.brew.sh/Homebrew-on-Linux>

0 comments on commit 33d9e4e

Please sign in to comment.