Skip to content

Instantly share code, notes, and snippets.

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 edwardmartinsjr/4eee45a30c75176dee496bb2c5b2ad82 to your computer and use it in GitHub Desktop.
Save edwardmartinsjr/4eee45a30c75176dee496bb2c5b2ad82 to your computer and use it in GitHub Desktop.
# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip
# Unzip
unzip protoc-3.2.0-linux-x86_64.zip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/
# Move protoc3/include to /usr/local/include/
sudo mv protoc3/include/* /usr/local/include/
# Optional: change owner
sudo chwon [user] /usr/local/bin/protoc
sudo chwon -R [user] /usr/local/include/google
Note: IF [use an older version of the plugin](https://github.com/google/protobuf/issues/4582)
is necesary, please, do not forget to re-install the protobuf `make install`
@edwardmartinsjr
Copy link
Author

edwardmartinsjr commented Oct 26, 2018

On Mac
brew install protobuf

@edwardmartinsjr
Copy link
Author

git checkout 925541529c1fa6821df4e44ce2723319eb2be768
make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment