$ wget https://github.com/protocolbuffers/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz
$ tar zxvf protobuf-2.5.0.tar.gz
$ cd protobuf-2.5.0
$ ./configure
$ make
$ make check
$ make install
$ protoc --version
云盘下载:
链接: https://pan.baidu.com/s/1egm9f6q5s0n2iizddtrrwa 密码: n9j8