下载源码
$git clone https://github.com/protocolbuffers/protobuf.git
$cd protobuf/
$git submodule update --init --recursive
编译步骤
$sudo apt-get install autoconf automake libtool curl make g++ unzip
$./autogen.sh
$./configure
$make
$make check
$sudo make install
$sudo ldconfig
protoc --version
