Skip to content

Instantly share code, notes, and snippets.

@bergquist
Last active September 20, 2017 15:24
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 bergquist/5df1f201bb605e42538ef40f6ccf82a9 to your computer and use it in GitHub Desktop.
Save bergquist/5df1f201bb605e42538ef40f6ccf82a9 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.4.0/protoc-3.4.0-linux-x86_64.zip
# Unzip
unzip protoc-3.4.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment