Skip to content

Instantly share code, notes, and snippets.

@peterroth
Created February 18, 2021 10:01
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save peterroth/918aff4463160e2f44eaf60ccc28bc03 to your computer and use it in GitHub Desktop.
Save peterroth/918aff4463160e2f44eaf60ccc28bc03 to your computer and use it in GitHub Desktop.
How to install protobuf 2.5.0 on Mac (10.15.7, Catalina). brew required!
brew install automake libtool wget
wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2
tar -xvjf protobuf-2.5.0.tar.bz2
cd protobuf-2.5.0
./autogen.sh
./configure
make; make check
sudo make install
Validate the successful installation:
~/Downloads/protobuf-2.5.0: protoc --version
libprotoc 2.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment