Update Go on Linux image 76

Update Go on Linux

It turned out to be a fairly small deal. For reference sake a brief write up of updating the Go runtime on my Ubuntu environment.

Current version:

go version

image

Find latest releases of Go at https://go.dev/dl/

image

There is a new one. I copy the link and then run:

wget https://go.dev/dl/go1.17.6.linux-amd64.tar.gz

image

Then installation is nothing more than:

sudo tar -C /usr/local –xzf go1.17.6.linux-amd64.tar.gz

Then I run go version again to check whether I now have the latest Go version – and I do (1.17.6).

image

Finally I remove the downloaded tar ball

rm go1.17.6.linux-amd64.tar.gz


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.