https://github.com/fclairamb/golang-debian-package
golang debian package
https://github.com/fclairamb/golang-debian-package
Last synced: 5 months ago
JSON representation
golang debian package
- Host: GitHub
- URL: https://github.com/fclairamb/golang-debian-package
- Owner: fclairamb
- Created: 2015-04-21T20:43:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:33:33.000Z (over 2 years ago)
- Last Synced: 2025-03-23T22:53:24.939Z (about 1 year ago)
- Language: Makefile
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go debian package
## How to install
wget https://github.com/fclairamb/golang-debian-package/releases/download/1.4.2/golang-alt_1.4.2_amd64.deb -O /tmp/golang.deb.tmp && mv /tmp/golang.deb.tmp /tmp/golang.deb
sudo dpkg -i /tmp/golang.deb
go-prepare-env
This last command should be issued for any user using the environment.
## Why ?
This allows to install go very quickly.
[Godeb](https://github.com/niemeyer/godeb) might be a better fit than this tool but it doesn't provide DEB files as-is.
## What does it do ?
* Install the go files in /opt/go
* Create some symbolic links from /opt/go/bin to /usr/bin
* Add a specific go-prepare-env script to make it simpler for users to set their GOPATH environment variable