Update Golang version on Linux

in #golang7 years ago

golang-gopher.jpg

Update Golang version on Linux

 

  1. Remove old installation; default folder is /usr/local/go, but it may be different.
sudo rm -rf /usr/local/go

 

  1. Download Go
wget -O golang.tar.gz https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz

 

  1. Extract the archive into /usr/local/go (or different folder - depends on your installation)
sudo tar -C /usr/local -xzf golang.tar.gz

 

  1. Test if it's OK
go version
Sort:  

Congratulations @middlehut! You received a personal award!

1 Year on Steemit

Click here to view your Board of Honor

Do not miss the last post from @steemitboard:

Saint Nicholas challenge for good boys and girls

Support SteemitBoard's project! Vote for its witness and get one more award!