Created
November 3, 2020 14:21
-
-
Save mcbenjemaa/4cf17a469cc8f0b9985d5d13dcbc1819 to your computer and use it in GitHub Desktop.
Revisions
-
mcbenjemaa created this gist
Nov 3, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ # 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 ```