Skip to content

Simple Bash script to automate Go language tools single user installation or even removal.

License

Notifications You must be signed in to change notification settings

wayrt7/golang-tools-install-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

golang-tools-install-script

Bash script to automate Go language tools single user installation (Linux) or even removal. Latest filename for download at the time of this writting was for version 1.5 of Go. Feel free to change the variables on the beggining to match whatever version you need.

Tested with:

  • Ubuntu/Mint/Debian (17/10/2015)
  1. Download with wget or your preferred download method:
wget https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh
  1. To install 64-bit
bash goinstall.sh --64

Or, to install 32-bit:

bash goinstall.sh --32
  1. To remove any changes call:
bash goinstall.sh --remove

The script will make .go and go folders on your home directory, add the needed variables and PATH expansion.

$HOME/.go folder is your where go will be installed to.
$HOME/go is the default workspace.

Read more about the workspace at http://golang.org/doc/code.html

About

Simple Bash script to automate Go language tools single user installation or even removal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%