Replace static version in go with defined variable
This commit is contained in:
parent
a62f0edd8c
commit
85c82fd56b
5
go.md
5
go.md
@ -4,8 +4,11 @@ Install go programming language to user .local/bin directory
|
||||
|
||||
## Install binary release from repositories
|
||||
|
||||
Check [release information](https://golang.org/dl/) for the latest stable version.
|
||||
|
||||
```bash
|
||||
wget -qO go.tar.gz https://dl.google.com/go/go1.11.2.linux-amd64.tar.gz \
|
||||
VERSION=
|
||||
wget -qO go.tar.gz "https://dl.google.com/go/go$VERSION.linux-amd64.tar.gz" \
|
||||
&& tar -C $HOME/.local -xzf go.tar.gz \
|
||||
&& rm go.tar.gz
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user