Update Go on Linux

Lucas Jellema

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.

Next Post

Generate random JSON data from an AVRO schema using Java

Recently I was designing an AVRO schema and wanted to test how data would look like which conformed to this schema. I developed some Java code to generate sample data. This of course also has uses in more elaborate tests which require generation of random events. Because AVRO is not […]
%d bloggers like this: