LoginSignup
1
0

More than 3 years have passed since last update.

Macで特定のバージョンのProtobuf(Protocol Buffers)のInstall方法

Last updated at Posted at 2020-12-05

コマンド

以下のコマンドをベースに好きなバージョンに書き換えれば、Installできます。


PROTOC_ZIP=protoc-3.12.0-osx-x86_64.zip
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.12.0/$PROTOC_ZIP
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
sudo unzip -o $PROTOC_ZIP -d /usr/local ‘include/*rm -f $PROTOC_ZIP

自分が今お世話になってるプロジェクトで、protobufのバージョンの指定があったんだが、色々試しても最新のVersion以外でInstall出来なかったので、ここに記してます。
※ここに来るまで、1時間強かかった。。。

参考Web

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0