update-golang is a script to easily fetch and install new Golang releases with minimum system intrusion. The script uses local system OS and ARCH to download the correct binary release. It is not harmful to run the script multiple times. Downloaded releases are kept as cache under '/usr/local'. You can erase them manually. By default, the script only detects actual releases (not beta releases, not release candidates). However one can force any specific non-final release. The default behavior is to install Golang globally for all system users. However, you can use the environment variables to point locations to your per-user home directory. The per-user installation does not need root (sudo) privileges. You can use the '-declutter' option to prevent caching downloaded archives.

Features

  • The script uses local system OS and ARCH to download the correct binary release
  • By default, the script only detects actual releases (not beta releases, not release candidates)
  • One can force any specific non-final release
  • The script DOES NOT ever modify the GOPATH variable
  • You can customize the behavior by setting environment variables
  • You can use the 'remove' option to undo update-golang.sh work

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow update-golang

update-golang Web Site

Other Useful Business Software
DataHub is the leading open-source data catalog helping teams discover, understand, and govern their data assets. Icon
DataHub is the leading open-source data catalog helping teams discover, understand, and govern their data assets.

Modern Data Catalog and Metadata Platform

Built on an open source foundation with a thriving community of 13,000+ members, DataHub gives you unmatched flexibility to customize and extend without vendor lock-in. DataHub Cloud is a modern metadata platform with REST and GraphQL APIs that optimize performance for complex queries, essential for AI-ready data management and ML lifecycle support.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of update-golang!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Unix Shell

Related Categories

Unix Shell Frameworks

Registered

2023-01-30