安裝步驟
sudo apt-get install autoconf automake libtool curl make g++ unzip
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
./configure
make
//可不檢查,沒影響
make check
sudo make install
sudo ldconfig # refresh shared library cache.
測試
protoc --version //版本號,輸出即可