Skip to content

Commit ee660e7

Browse files
authored
Merge pull request #3692 from troyjfarrell/update-docs-for-golang1.19
Update docs for golang1.19
2 parents 2b0bcfa + 463cd58 commit ee660e7

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

docs/install.md

+22-3
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Please install the following:
144144
* `curl`
145145
* `python3`
146146
* `zlib1g-dev`
147-
* `golang-go`
147+
* `golang-go` 1.19 or later
148148
* `cmake`
149149
* discount (markdown parser)
150150
* [Meteor](http://meteor.com)
@@ -153,10 +153,29 @@ On Debian or Ubuntu, you should be able to get all these with:
153153

154154
sudo apt-get install build-essential libcap-dev xz-utils zip \
155155
unzip strace curl discount git python3 zlib1g-dev \
156-
golang-go cmake strace flex bison locales
156+
cmake flex bison locales
157+
GO_VERSION=$(curl 'https://go.dev/VERSION?m=text')
158+
curl -L "https://go.dev/dl/$GO_VERSION.linux-amd64.tar.gz" -o go.tar.gz \
159+
&& sudo tar -C /usr/local -xvf go.tar.gz \
160+
&& rm go.tar.gz
157161
curl https://install.meteor.com/ | sh
158162

159-
On Fedora 34 you should be able to get them with:
163+
When you download and install Go on Debian or Ubuntu using the instructions above, you should
164+
add the Go `bin` directory to your path:
165+
166+
export PATH="/usr/local/go/bin:$PATH"
167+
168+
To add the Go `bin` directory to your path permanently, add it to your `~/.profile` file:
169+
170+
<< EOF cat >> ~/.profile
171+
172+
# Include Go in the PATH
173+
if [ -d /usr/local/go/bin ]; then
174+
PATH="/usr/local/go/bin:\$PATH"
175+
fi
176+
EOF
177+
178+
On Fedora 34 you should be able to get the prerequisites with:
160179

161180
sudo dnf install make libcap-devel libstdc++-devel libstdc++-static \
162181
glibc-headers glibc-static glibc-locale-source gcc-c++ xz zip \

shell/i18n/en.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
"whoHasAccess": "See who has access"
299299
},
300300
"grainSharePopup": {
301-
"oldSharingModelDescription": "This grain uses the old sharing model. You can share it by copy/pasting the URL from the location bar",
301+
"oldSharingModelDescription": "This grain uses the old sharing model. You can share it by copy/pasting the URL from the location bar.",
302302
"upgradeDescription": "You can upgrade this grain to the new model, but anyone with whom you shared this grain previously will lose access; you will have to share with them again.",
303303
"upgradeWarning": "Upgrading cannot be undone.",
304304
"upgrade": "upgrade",

0 commit comments

Comments
 (0)