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

You Might Also Like
One Platform. Total IT Insight. Start with PRTG Now Icon
One Platform. Total IT Insight. Start with PRTG Now

Rely on a single source of truth. PRTG unifies monitoring for all your systems, apps, and services.

Why settle for fragmented monitoring? PRTG consolidates everything - servers, VMs, network devices, cloud services, and more, into one powerful platform. Get real-time status, customizable alerts, and deep analytics to drive smarter decisions. Designed for complex environments, PRTG scales with your needs, supports team collaboration, and helps you prevent outages before they impact users. Take control of your IT landscape and deliver the uptime your business requires.
Start Your Free PRTG Trial
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