Created
March 9, 2019 17:40
-
-
Save myklll/0efedb3efe381f09df2bcdfc5d1b4647 to your computer and use it in GitHub Desktop.
Set up Protobuf Compiler on a Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get the latest release here: https://github.com/protocolbuffers/protobuf/releases | |
$ wget https://github.com/protocolbuffers/protobuf/archive/v3.7.0.tar.gz | |
$ tar -zxvf protobuf-3.7.0.tar.gz | |
$ sudo mv protobuf-3.7.0 /usr/local/bin | |
$ cd /usr/local/bin/protobuf-3.7.0 | |
$ ./autogen.sh && ./configure && make | |
$ sudo make install | |
$ which protoc | |
$ protoc --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment