Merge pull request #10563 from Roasbeef/go-1-25
build+docs: bump minimum Go version to 1.25.5
This commit is contained in:
15 files changed
+23
-23
No files matched your search
+9
-9
@@ -93,7 +93,7 @@ following build dependencies are required:
|
||||
|
||||
### Installing Go
|
||||
|
||||
`lnd` is written in Go, with a minimum version of `1.24.11` (or, in case this
|
||||
`lnd` is written in Go, with a minimum version of `1.25.5` (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,15 +101,15 @@ requires). To install, run one of the following commands for your OS:
|
||||
<summary>Linux (x86-64)</summary>
|
||||
|
||||
```
|
||||
wget https://dl.google.com/go/go1.24.11.linux-amd64.tar.gz
|
||||
echo "bceca00afaac856bc48b4cc33db7cd9eb383c81811379faed3bdbc80edb0af65 go1.24.11.linux-amd64.tar.gz" | sha256sum --check
|
||||
wget https://dl.google.com/go/go1.25.5.linux-amd64.tar.gz
|
||||
echo "9e9b755d63b36acf30c12a9a3fc379243714c1c6d3dd72861da637f336ebb35b go1.25.5.linux-amd64.tar.gz" | sha256sum --check
|
||||
```
|
||||
|
||||
The command above should output `go1.24.11.linux-amd64.tar.gz: OK`. If it
|
||||
The command above should output `go1.25.5.linux-amd64.tar.gz: OK`. If it
|
||||
doesn'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.24.11.linux-amd64.tar.gz
|
||||
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.25.5.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
```
|
||||
</details>
|
||||
@@ -118,15 +118,15 @@ requires). To install, run one of the following commands for your OS:
|
||||
<summary>Linux (ARMv6)</summary>
|
||||
|
||||
```
|
||||
wget https://dl.google.com/go/go1.24.11.linux-armv6l.tar.gz
|
||||
echo "24d712a7e8ea2f429c05bc67287249e0291f2fe0ea6d6ff268f11b7343ad0f47 go1.24.11.linux-armv6l.tar.gz" | sha256sum --check
|
||||
wget https://dl.google.com/go/go1.25.5.linux-armv6l.tar.gz
|
||||
echo "0b27e3dec8d04899d6941586d2aa2721c3dee67c739c1fc1b528188f3f6e8ab5 go1.25.5.linux-armv6l.tar.gz" | sha256sum --check
|
||||
```
|
||||
|
||||
The command above should output `go1.24.11.linux-armv6l.tar.gz: OK`. If it
|
||||
The command above should output `go1.25.5.linux-armv6l.tar.gz: OK`. 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.24.11.linux-armv6l.tar.gz
|
||||
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.25.5.linux-armv6l.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user