Created
December 10, 2018 11:36
-
-
Save navono/47c6df8bd3a336c1bcf787336b116418 to your computer and use it in GitHub Desktop.
Install proto in ubuntu
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
| # Make sure you grab the latest version | |
| curl -OL https://github.com/google/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip | |
| # Unzip | |
| unzip protoc-3.6.1-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