Skip to content

Instantly share code, notes, and snippets.

@sergeyt
Last active August 29, 2015 14:07
Show Gist options
  • Save sergeyt/c97dbec5dfecdfcb6cb5 to your computer and use it in GitHub Desktop.
Save sergeyt/c97dbec5dfecdfcb6cb5 to your computer and use it in GitHub Desktop.
gogs get deps
# install tools
sudo apt-get install git python-software-properties pkg-config
sudo apt-get install gcc libc6-dev
sudo apt-get install mercurial
# install golang from source
hg clone -u release https://code.google.com/p/go
cd go/src
./all.bash
# TODO export GOROOT, GOPATH environment vars
# install golang from ppa repository
# sudo add-apt-repository ppa:gophers/go
# sudo apt-get update
# sudo apt-get install golang-stable
# this is install go 1.2.1
# sudo add-apt-repository ppa:duh/golang
# sudo apt-get update
# sudo apt-get install golang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment