Skip to content

Instantly share code, notes, and snippets.

@guojing0
guojing0 / update-golang.md
Created May 25, 2024 19:34 — forked from nikhita/update-golang.md
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: