Skip to content

Instantly share code, notes, and snippets.

@yveshwang
Forked from peterroth/protobuf-250-on-mac.txt
Created October 13, 2022 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yveshwang/348e96d69ebeb5b738b293ca701457a4 to your computer and use it in GitHub Desktop.
Save yveshwang/348e96d69ebeb5b738b293ca701457a4 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