Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanickrochon/go-install
Install GO programming language and configure workspace in the current working directory
https://github.com/yanickrochon/go-install
Last synced: 30 days ago
JSON representation
Install GO programming language and configure workspace in the current working directory
- Host: GitHub
- URL: https://github.com/yanickrochon/go-install
- Owner: yanickrochon
- Created: 2014-07-30T04:42:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-30T13:40:17.000Z (over 10 years ago)
- Last Synced: 2024-10-06T18:19:34.839Z (about 1 month ago)
- Language: Shell
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-install
Install GO programming language and configure workspace in the current working directory
## Requirements
At this moment, the script is only tested in Ubuntu 14.04 64-bit.
## Instruction
1. Create your workspace directory (preferably in your $HOME directory, ex: `~/go`)
2. Get the script and make it executable : `chmod +x install.sh`
3. run it : `./install.sh`The script should download GO if it is not currently installed (or found) and install it automatically. The GO binary will be added to the PATH environment automatically through `/etc/profile`.
The script will also add the worspace paths to `~/.profile` and create the `bin`, `pkg` and `src` folder automatically.
## Limitations
Currently, there is not auto-remove or auto-clean. Removing go (in `/usr/local/go`) and undoing all the changes that the script has made (in `/etc/profile` and `~/.profile`) must be made manually.
## License
Do whatever you want with this. I am not responsible for the mess you do.