Created
September 19, 2020 09:26
-
-
Save akshilshah/00c065473917e0b0051362f10432cd3a to your computer and use it in GitHub Desktop.
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
# Source : https://www.digitalocean.com/community/tutorials/how-to-install-go-on-ubuntu-18-04 | |
cd ~ && | |
curl -O https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz && | |
tar xvf go1.10.3.linux-amd64.tar.gz && | |
sudo chown -R root:root ./go | |
sudo mv go /usr/local && | |
echo "export GOPATH=$HOME/work" >> ~/.profile && | |
echo "export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin" >> ~/.profile && | |
source ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment