Skip to content

Commit fb416c2

Browse files
authored
Merge pull request #8856 from AbelLykens/patch-1
[docs] Update go instructions
2 parents 376b8ce + 04f9a4f commit fb416c2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/INSTALL.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,16 @@ the following commands for your OS:
100100
<summary>Linux (x86-64)</summary>
101101

102102
```
103-
wget https://dl.google.com/go/go1.19.7.linux-amd64.tar.gz
104-
sha256sum go1.19.7.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
103+
wget https://dl.google.com/go/go1.22.4.linux-amd64.tar.gz
104+
sha256sum go1.22.4.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
105105
```
106106

107107
The final output of the command above should be
108-
`7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d`. If it
108+
`ba79d4526102575196273416239cca418a651e049c2b099f3159db85e7bade7d`. If it
109109
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
110110
this version of Go. If it matches, then proceed to install Go:
111111
```
112-
sudo tar -C /usr/local -xzf go1.19.7.linux-amd64.tar.gz
112+
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz
113113
export PATH=$PATH:/usr/local/go/bin
114114
```
115115
</details>
@@ -118,16 +118,16 @@ the following commands for your OS:
118118
<summary>Linux (ARMv6)</summary>
119119

120120
```
121-
wget https://dl.google.com/go/go1.19.7.linux-armv6l.tar.gz
122-
sha256sum go1.19.7.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
121+
wget https://dl.google.com/go/go1.22.4.linux-armv6l.tar.gz
122+
sha256sum go1.22.4.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
123123
```
124124

125125
The final output of the command above should be
126-
`93b1f621ddfc2c2b4e383e185fa7801e80f8b546918cb96afea2723677928312`. If it
126+
`e2b143fbacbc9cbd448e9ef41ac3981f0488ce849af1cf37e2341d09670661de`. If it
127127
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
128128
this version of Go. If it matches, then proceed to install Go:
129129
```
130-
tar -C /usr/local -xzf go1.19.7.linux-armv6l.tar.gz
130+
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.4.linux-armv6l.tar.gz
131131
export PATH=$PATH:/usr/local/go/bin
132132
```
133133

0 commit comments

Comments
 (0)