Last active
November 30, 2022 14:30
-
-
Save wasdee/9fba5a999af97ca966547cf325e79677 to your computer and use it in GitHub Desktop.
install_protoc.sh
This file contains 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
#!/usr/bin/env bash | |
# https://github.com/protocolbuffers/protobuf/releases | |
PROTOC_VERSION=21.9 | |
PLATFORM=linux-x86_64 | |
wget --output-document protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v21.9/protoc-21.9-linux-x86_64.zip | |
unzip protoc.zip -d protoc | |
sudo mv protoc/bin/protoc /usr/local/bin/ | |
sudo mv protoc/include/google /usr/local/include/ | |
rm -rf protoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment