ubuntu安装protobuf

protobuf在ubuntu 下安装 【版本16.04】
官方地址:https://github.com/google/protobuf/blob/master/src/README.md

# sudo apt-get install autoconf automake libtool curl make g++ unzip
# git clone https://github.com/google/protobuf.git
# cd protobuf
# git submodule update --init --recursive

# ./autogen.sh
# ./configure
# make
# make check
# sudo make install
# sudo ldconfig  #refresh shared library cache.
 

你可能感兴趣的:(#,Linux_env)