Skip to content

Instantly share code, notes, and snippets.

@nwiizo
Created October 29, 2018 07:11
Show Gist options
  • Select an option

  • Save nwiizo/256b3ad934a16a8a982f89cdef20bc83 to your computer and use it in GitHub Desktop.

Select an option

Save nwiizo/256b3ad934a16a8a982f89cdef20bc83 to your computer and use it in GitHub Desktop.
#install golang 1.9
sudo apt install golang-1.9
#create synboric link
cd /usr/bin
sudo mv go go_16
sudo mv gofmt gofmt_16
sudo ln -s /usr/lib/go-1.9/bin/go /usr/bin/go
sudo ln -s /usr/lib/go-1.9/bin/gofmt /usr/bin/gofmt
#Check go version go1.9.2 linux/amd64
go version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment