#install git follow the install guide on https://git-scm.com/download/linux
https://www.mercurial-scm.org/downloads
https://golang.org/doc/install
mkdir ~/gocourse cd ~/gocourse mkdir src pkg bin
export GOPATH=~/gocourse
go get golang.org/x/tools/cmd/goimports
mkdir -p $GOPATH/src/github.com/user/hello
cat > $GOPATH/src/github.com/user/hello/hello.go <<EOF package main
import "fmt"
func main() { fmt.Printf("hello, world\n") } EOF