diff options
author | Sam Whited <sam@samwhited.com> | 2022-02-25 11:05:01 -0500 |
---|---|---|
committer | Sam Whited <sam@samwhited.com> | 2022-02-25 11:05:01 -0500 |
commit | a33bfa3ed293f0df56b138668702fb11d22dc984 (patch) | |
tree | 08d34ccd42064d627421ea6abda9505f107d5b4b | |
parent | 87e1d7b1022f9aaca1131b9f44d11d4a1ba77f62 (diff) |
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: Sam Whited <sam@samwhited.com>
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,9 +23,9 @@ Other Linux distributions might need additional steps to install all requirement ```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 -go get -u git.autistici.org/ale/x509ca -go get -u git.autistici.org/ale/ed25519gen -go get git.autistici.org/ai3/go-common/cmd/pwtool +go install git.autistici.org/ale/x509ca@latest +go install git.autistici.org/ale/ed25519gen@latest +go install git.autistici.org/ai3/go-common/cmd/pwtool@latest export PATH=$PATH:$HOME/go/bin ``` |