correct go installation - guide finished
This commit is contained in:
@@ -41,19 +41,6 @@ rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.6.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
source $HOME/.profile
|
||||
```
|
||||
<!---dropping this off as the original link doesn't exist and go installation page doesn't mention this part
|
||||
|
||||
```
|
||||
# Update environment variables to include go
|
||||
cat <<'EOF' >>$HOME/.profile
|
||||
export GOROOT=/usr/local/go
|
||||
export GOPATH=$HOME/go
|
||||
export GO111MODULE=on
|
||||
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
|
||||
EOF
|
||||
source $HOME/.profile
|
||||
```
|
||||
--->
|
||||
|
||||
Verify `Go` is installed with:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user