Skip to content

Instantly share code, notes, and snippets.

@pacuna
Created December 26, 2020 22:00
Show Gist options
  • Save pacuna/75a3b5628a368f3f8dff2761bc6dd3b8 to your computer and use it in GitHub Desktop.
Save pacuna/75a3b5628a368f3f8dff2761bc6dd3b8 to your computer and use it in GitHub Desktop.
sudo port install automake libtool autogen autoconf
wget https://github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz
tar -xzvf protobuf-3.14.0.tar.gz
cd protobuf-3.14.0
./autogen.sh
./configure
make
sudo make install
go install google.golang.org/protobuf/cmd/protoc-gen-go # run outside of project with module, add $GOBIN to $PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment