From d6b2283279dc0182795f01af45faca6b1b538b61 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 15 Mar 2022 16:31:59 -0700 Subject: [PATCH] docs/INSTALL.md: update min Go version to 1.18 In this commit, we update the min Go version to be version 1.18. This breaks our prior rule of supporting the last two major versions, but allows us to use the larger features in 1.18 sooner, such as the newly released type parameters. --- docs/INSTALL.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index cabccfbf2..5c16680d5 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -93,23 +93,23 @@ following build dependencies are required: ### Installing Go -`lnd` is written in Go, with a minimum version of 1.16. To install, run one of +`lnd` is written in Go, with a minimum version of 1.18. To install, run one of the following commands for your OS:
Linux (x86-64) ``` - wget https://dl.google.com/go/go1.17.1.linux-amd64.tar.gz - sha256sum go1.17.1.linux-amd64.tar.gz | awk -F " " '{ print $1 }' + wget https://dl.google.com/go/go1.18.linux-amd64.tar.gz + sha256sum go1.18.linux-amd64.tar.gz | awk -F " " '{ print $1 }' ``` The final output of the command above should be - `dab7d9c34361dc21ec237d584590d72500652e7c909bf082758fb63064fca0ef`. If it + `e85278e98f57cdb150fe8409e6e5df5343ecb13cebf03a5d5ff12bd55a80264f`. If it isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install this version of Go. If it matches, then proceed to install Go: ``` - sudo tar -C /usr/local -xzf go1.17.1.linux-amd64.tar.gz + sudo tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin ```
@@ -118,12 +118,12 @@ the following commands for your OS: Linux (ARMv6) ``` - wget https://dl.google.com/go/go1.17.1.linux-armv6l.tar.gz - sha256sum go1.17.1.linux-armv6l.tar.gz | awk -F " " '{ print $1 }' + wget https://dl.google.com/go/go1.18.linux-armv6l.tar.gz + sha256sum go1.18.linux-armv6l.tar.gz | awk -F " " '{ print $1 }' ``` The final output of the command above should be - `ed3e4dbc9b80353f6482c441d65b51808290e94ff1d15d56da5f4a7be7353758`. If it + `a80fa43d1f4575fb030adbfbaa94acd860c6847820764eecb06c63b7c103612b`. If it isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install this version of Go. If it matches, then proceed to install Go: ```