UBUNTU16.04卸载安装protobuf
时间:2019-08-11 13:05:02
收藏:0
阅读:545
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 输出版本号成功
原文:https://www.cnblogs.com/penuel/p/11334421.html
评论(0)