标签:git clone github apt version move 版本 zip mod lib
1.卸载
sudo apt-get remove libprotobuf-dev
which protoc
然后删除路径即可
2.安装
sudo apt-get install autoconf automake libtool curl make g++ unzip
git clone -b v3.6.1 https://github.com/protocolbuffers/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
./configure
make
make check
sudo make install
sudo ldconfig
protoc --version 输出版本号成功
标签:git clone github apt version move 版本 zip mod lib
原文地址:https://www.cnblogs.com/penuel/p/11334421.html