Installing Google Protocol Buffers on mac

前端 未结 14 1718
轮回少年
轮回少年 2020-12-12 10:24

I would like to install the older version of Google Protocol Buffers (protobuf-2.4.1) on mac using Terminal command line. I tried with brew install protobuf, bu

14条回答
  •  庸人自扰
    2020-12-12 10:56

    To install Protocol Buffer (as of today version v3.7.0)

    1. Go to this website
    2. download the zip file according to your OS (e.g.: protoc-3.7.0-osx-x86_64.zip). This applies also to other OS.

    3. Move the executable in protoc-3/bin/protoc to one of your directories in PATH. In Mac I suggest to put it into /usr/local/bin

    Now your good to go

提交回复
热议问题