这个安装没成功:
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
此时就会显示安装成功了
参考:https://blog.csdn.net/Zyong139064359/article/details/102543602
cd protobuf
autogen.sh
./configure
make
make check
make install
来源:oschina
链接:https://my.oschina.net/u/4344814/blog/4335788