今天需要安装protobuf 在网上搜了一篇教程 ,但是篇幅太长 ,于是对其进行简化一下。原文
1、```
git clone https://github.com/protocolbuffers/protobuf.git
2、`sudo apt-get install autoconf automake libtool curl make g++ unzip
`
3、`cd protobuf/`
4、` git submodule update --init --recursive
`
5、`make check
`
6、`sudo make install
`
7、`sudo ldconfig
`
8、`protoc --version`
此时就会显示安装成功了
libprotoc 3.11.0