Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installing Go

Downloading

Download the newest installation version from

For Linux, it could be a link:

Installing

Follow the installation instructions:

Fedora

Remove the old version:

sudo rm -rf /usr/local/go

Unpack the new version:

sudo tar -C /usr/local -xzf go1.23.5.linux-amd64.tar.gz

Update the .bash_profile:

# Added by Go installer
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$HOME/go/bin

Restart user session or reboot.

Check the installed version:

go version

Output:

go version go1.23.5 linux/amd64