Linux下安装Protobuf 在 Linux 上安装 Protobuf 3 的教程 安装过程使用bazel安装,首先需要安装bazel,https://bazel.build/ 123456789sudo apt-get install g++ gitgit clone https://github.com/protocolbuffers/protobuf.gitcd protobufgit submodule update --init --recursivebazel build :protoc :protobufcp bazel-bin/protoc /usr/local/bin 安装验证1protoc --version Linux #Protoc Linux健康状态观测 上一篇 Linux常用命令 下一篇