Maintained by Thijmen Heuvelink

This script downloads Go 1.23.5 from https://go.dev/dl/go1.23.5.linux-amd64.tar.gz, removes any existing installation in /usr/local/go, extracts the new files to /usr/local, and updates the PATH in ~/.profile for immediate use.

Go 1.23.5 Installation Script

This script automates the installation of Go 1.23.5 on Linux by performing the following steps:

  • Download: Retrieves Go 1.23.5 from https://go.dev/dl/go1.23.5.linux-amd64.tar.gz.
  • Remove: Deletes any existing Go installation at /usr/local/go.
  • Extract: Unpacks the downloaded tarball into /usr/local.
  • Update PATH: Appends /usr/local/go/bin to your PATH in ~/.profile and reloads the profile, making the go command immediately available in your terminal.
wget -q https://go.dev/dl/go1.23.5.linux-amd64.tar.gz && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.5.linux-amd64.tar.gz && echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.profile && source ~/.profile

This knowledge base serves as a valuable tool to simplify installations, troubleshoot common problems and to enhance the overall developer / admin experience. mail@thijmenheuvelink.nl - all rights reserved