Skip to content

Instantly share code, notes, and snippets.

@mcbenjemaa
Created November 3, 2020 14:21
Show Gist options
  • Save mcbenjemaa/4cf17a469cc8f0b9985d5d13dcbc1819 to your computer and use it in GitHub Desktop.
Save mcbenjemaa/4cf17a469cc8f0b9985d5d13dcbc1819 to your computer and use it in GitHub Desktop.
How to update the Go version

How to update the Go version

Remove the existing go package

sudo rm -rvf /usr/local/go

Install the new Go version

Download specific binary release for your system

https://golang.org/dl/

Extract the archive file

sudo tar -xvf go1.14.linux-amd64.tar.gz

Move the extracted file to desired location on the system

sudo mv go /usr/local

Verify the go version

go version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment