Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I've installed everything go-related from synaptic and later added ppa as described in the wiki: yet I cannot do "go get" for example

go get

says that go command is not found.

How should I install this "go" command?

share|improve this question
It works if you follow this procedure:… – Rolf Sep 25 '14 at 19:05

2 Answers 2

up vote 5 down vote accepted

That's a tool that seems to be released recently. If you install the golang-weekly package instead of golang-stable (available also through the ppa:gophers/go PPA), you'll see that go is available under /usr/bin directory.

share|improve this answer

It works if you follow this procedure: Installing the Go Language

You have to modify your ~/.bashrc as follows.

nano ~/.bashrc

export GOPATH=/srv/go
if [ -d "/usr/lib/go/bin" ] ; then
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.