Setup Go Development Environment on Ubuntu 14.04

A very brief guide to setup a Go development environment on Ubuntu 14.04, mostly for myself:

  1. Download the latest archive: wget It can be found on the Go install documentation.
  2. Extract it to /usr/local sudo tar -C /usr/local -xzf go1.4.2.linux-amd64.tar.gz
  3. Create workspace mkdir -p ~/golang/bin ~/golang/pkg ~/golang/src/
  4. Set $PATH and $GOPATH echo "export GOPATH=$HOME/golang" >> ~/.bashrc echo "export PATH=$PATH:/usr/local/go/bin:$HOME/golang/bin" >> ~/.bashrc

That’s it.

Georg Kunz
I'm a freelancer specialized on infrastructure and web performance with the goal to improve developer's life. Founder and organizer of the Swiss Rails User Group. Former product manager and software architect at

Do you need help with DevOps, CloudFoundry, Docker, Ruby or Rails? I'm available, please get in touch with me to discuss a collaboration or check out my website.

comments powered by Disqus