Created
November 18, 2019 11:21
-
-
Save Clivern/f4fc9d1b7e172001c2456e77c2220ffa to your computer and use it in GitHub Desktop.
Install golang 1.12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get -y upgrade | |
cd /tmp | |
wget https://dl.google.com/go/go1.12.linux-amd64.tar.gz | |
sudo tar -xvf go1.12.linux-amd64.tar.gz | |
sudo mv go /usr/local | |
export GOROOT=/usr/local/go | |
export GOPATH=$HOME/go | |
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment