Skip to content

I am unable to compile v1.26.0,how should I handle it #11850

Answered by rvagg
ytjoe asked this question in General Q&A
Discussion options

You must be logged in to vote

@ytjoe perhaps try reinstalling Go, and before you do, clear out the old one. It looks to me like you have old and a new files from a Go upgrade. rm -rf /usr/local/go might help before you install again.

In fact, https://go.dev/doc/install even recommends deleting this directory if installing from a tarball download.

You could also try installing from an OS distro package instead to have this managed for you. I personally use https://snapcraft.io/go mostly to keep it updated and compatible.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ytjoe
Comment options

Answer selected by ytjoe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants