docs/INSTALL.md: update command line to install go
you must be root to be able to install go on /usr/local/ without "sudo" the command fails with : tar: go/src/cmd/go/main.go: Cannot open: No such file or directory
This commit is contained in:
parent
22b1008916
commit
23baa75c09
@ -111,7 +111,7 @@ version if there are database migrations present.
|
|||||||
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.16.linux-amd64.tar.gz
|
sudo 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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user