Project

go-install

0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
go-install - download and extract a golang official binary to /usr/local/go
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 2.1
~> 13.0.1
 Project Readme

go-install

go-install - download and extract a golang official binary to /usr/local/go

Installation

$ gem install go-install
(you may need to run as root or through sudo.)

Usage

go-install version

Examples
$ sudo go-install latest
$ sudo go-install 1.11.1
$ sudo go-install 1.10.4

PATH setting
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$HOME/go/bin

Examples

centos7_golang.sh

ubuntu18.04_golang.sh

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/s3fxn/go-install.

License

The gem is available as open source under the terms of the MIT License.