docs/INSTALL.md: update install docs w/ new min Go version

This commit is contained in:
Olaoluwa Osuntokun 2021-02-16 16:23:45 -08:00
parent 95650c7d63
commit a1bfbdc7d2
No known key found for this signature in database
GPG Key ID: 3BBD59E99B280306

@ -93,46 +93,46 @@ version if there are database migrations present.
* **Go:** `lnd` is written in Go. To install, run one of the following commands: * **Go:** `lnd` is written in Go. To install, run one of the following commands:
**Note**: The minimum version of Go supported is Go 1.13. We recommend that **Note**: The minimum version of Go supported is Go 1.15. We recommend that
users use the latest version of Go, which at the time of writing is users use the latest version of Go, which at the time of writing is
[`1.15`](https://blog.golang.org/go1.15). [`1.16`](https://blog.golang.org/go1.16).
On Linux: On Linux:
(x86-64) (x86-64)
``` ```
wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz wget https://dl.google.com/go/go1.16.linux-amd64.tar.gz
sha256sum go1.13.linux-amd64.tar.gz | awk -F " " '{ print $1 }' sha256sum go1.16.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
``` ```
The final output of the command above should be The final output of the command above should be
`68a2297eb099d1a76097905a2ce334e3155004ec08cdea85f24527be3c48e856`. If it `013a489ebb3e24ef3d915abe5b94c3286c070dfe0818d5bca8108f1d6e8440d2`. If it
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install 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: this version of Go. If it matches, then proceed to install Go:
``` ```
tar -C /usr/local -xzf go1.13.linux-amd64.tar.gz tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:/usr/local/go/bin
``` ```
(ARMv6) (ARMv6)
``` ```
wget https://dl.google.com/go/go1.13.linux-armv6l.tar.gz wget https://dl.google.com/go/go1.16.linux-armv6l.tar.gz
sha256sum go1.13.linux-armv6l.tar.gz | awk -F " " '{ print $1 }' sha256sum go1.16.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
``` ```
The final output of the command above should be The final output of the command above should be
`931906d67cae1222f501e7be26e0ee73ba89420be0c4591925901cb9a4e156f0`. If it `d1d9404b1dbd77afa2bdc70934e10fbfcf7d785c372efc29462bb7d83d0a32fd`. If it
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install 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: this version of Go. If it matches, then proceed to install Go:
``` ```
tar -C /usr/local -xzf go1.13.linux-armv6l.tar.gz tar -C /usr/local -xzf go1.16.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:/usr/local/go/bin
``` ```
On Mac OS X: On Mac OS X:
``` ```
brew install go@1.13 brew install go@1.16
``` ```
On FreeBSD: On FreeBSD: