Skip to content

Instantly share code, notes, and snippets.

@jcbombardelli
Last active January 22, 2020 19:37
Show Gist options
  • Save jcbombardelli/93a8ab2161ad9e556fdc7d8daab608c8 to your computer and use it in GitHub Desktop.
Save jcbombardelli/93a8ab2161ad9e556fdc7d8daab608c8 to your computer and use it in GitHub Desktop.
Configure Golang for Ubuntu 18.x
echo 'export GOROOT=/usr/local/go' >> ~/.profile
echo 'export GOPATH=$HOME/Desenv/go' >> ~/.profile
echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.profile
source ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment