Catalogue
Fixing the "exec: "bzr": executable file not found in $PATH" error on go get

Fixing the "exec: "bzr": executable file not found in $PATH" error on go get

🌐 日本語で読む

Conclusion

After installing the bzr module, I ran go get again and it worked without any problems.

1
# yum install -y bzr

Overview

On CentOS 7 running on EC2,
when I ran go get as shown below, I got an error saying bzr could not be found.

1
2
3
4
5
$ go get launchpad.net/goamz/aws

[centos@ip-xxx-xx-xx-xx src]$ go get launchpad.net/goamz/aws
go: missing Bazaar command. See http://golang.org/s/gogetcmd
package launchpad.net/goamz/aws: exec: "bzr": executable file not found in $PATH

It was a minor stumbling block.

By the way

bzr, like git, is a distributed version control system.

The package I was trying to install this time was managed with Bazaar, which is presumably why it was required.

See the following for reference:
Bazaar User Reference

Fixing the "exec: "bzr": executable file not found in $PATH" error on go get

https://kenzo0107.github.io/en/2015/08/19/go-get-executable-file-not-found/

Author

Kenzo Tanaka

Posted on

2015-08-19

Licensed under