Skip to content
Snippets Groups Projects
Verified Commit a33bfa3e authored by Sam Whited's avatar Sam Whited
Browse files

Fix Go dependency install instructions in README


Prior to Go 1.17 the "go get" command was overloaded to install library
dependencies and applications. As of Go 1.17 installing applications
with it results in a warning, and as of Go 1.18 it will no longer be
used to install applications.

This patch updates the readme to use "go install" instead.

TL;DR — "go get" updates module dependencies, "go install" builds
        binaries and sticks them in $GOBIN.

Signed-off-by: default avatarSam Whited <sam@samwhited.com>
parent 87e1d7b1
No related branches found
No related tags found
1 merge request!53Fix Go dependency install instructions in README
Pipeline #79535 passed
...@@ -23,9 +23,9 @@ Other Linux distributions might need additional steps to install all requirement ...@@ -23,9 +23,9 @@ Other Linux distributions might need additional steps to install all requirement
```shell ```shell
sudo apt-get install golang build-essential bind9utils python3-pysodium python3-jinja2 python3-netaddr python3-openssl python3-yaml python3-six python3-crypto ansible git sudo apt-get install golang build-essential bind9utils python3-pysodium python3-jinja2 python3-netaddr python3-openssl python3-yaml python3-six python3-crypto ansible git
go get -u git.autistici.org/ale/x509ca go install git.autistici.org/ale/x509ca@latest
go get -u git.autistici.org/ale/ed25519gen go install git.autistici.org/ale/ed25519gen@latest
go get git.autistici.org/ai3/go-common/cmd/pwtool go install git.autistici.org/ai3/go-common/cmd/pwtool@latest
export PATH=$PATH:$HOME/go/bin export PATH=$PATH:$HOME/go/bin
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment