mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
docs: update INSTALL.md with Go 1.23 instructions
This commit is contained in:
parent
7bc88e8360
commit
bf192d292f
1 changed files with 9 additions and 9 deletions
|
@ -93,7 +93,7 @@ following build dependencies are required:
|
|||
|
||||
### Installing Go
|
||||
|
||||
`lnd` is written in Go, with a minimum version of `1.22.6` (or, in case this
|
||||
`lnd` is written in Go, with a minimum version of `1.23.6` (or, in case this
|
||||
document gets out of date, whatever the Go version in the main `go.mod` file
|
||||
requires). To install, run one of the following commands for your OS:
|
||||
|
||||
|
@ -101,16 +101,16 @@ requires). To install, run one of the following commands for your OS:
|
|||
<summary>Linux (x86-64)</summary>
|
||||
|
||||
```
|
||||
wget https://dl.google.com/go/go1.22.6.linux-amd64.tar.gz
|
||||
sha256sum go1.22.6.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
|
||||
wget https://dl.google.com/go/go1.23.6.linux-amd64.tar.gz
|
||||
sha256sum go1.23.6.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
|
||||
```
|
||||
|
||||
The final output of the command above should be
|
||||
`999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616`. If it
|
||||
`9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d`. 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 rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.6.linux-amd64.tar.gz
|
||||
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.6.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
```
|
||||
</details>
|
||||
|
@ -119,16 +119,16 @@ requires). To install, run one of the following commands for your OS:
|
|||
<summary>Linux (ARMv6)</summary>
|
||||
|
||||
```
|
||||
wget https://dl.google.com/go/go1.22.6.linux-armv6l.tar.gz
|
||||
sha256sum go1.22.6.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
|
||||
wget https://dl.google.com/go/go1.23.6.linux-armv6l.tar.gz
|
||||
sha256sum go1.23.6.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
|
||||
```
|
||||
|
||||
The final output of the command above should be
|
||||
`b566484fe89a54c525dd1a4cbfec903c1f6e8f0b7b3dbaf94c79bc9145391083`. If it
|
||||
`27a4611010c16b8c4f37ade3aada55bd5781998f02f348b164302fd5eea4eb74`. 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 rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.6.linux-armv6l.tar.gz
|
||||
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.6.linux-armv6l.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue