Install Go on Fedora
Check the current releases https://go.dev/dl/
Download a version for Linux:
Extract the archive:
Include the export in you PATH
environment variable:
You can make this persistent by adding it to your .bash_profile
:
This will load when you log into you system, however you can always use source
to reload the exports:
You can validate the install version of go
:
Tip
If you already have a version installed, you can perform the following command to remove and extract a different version
Reference: https://go.dev/doc/install