Skip to content

Instantly share code, notes, and snippets.

@stvhwrd
Forked from diegopacheco/latest-protobuf-ubuntu-18-04.md
Last active November 12, 2019 17:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stvhwrd/b23fe97300bd1da30ca3418d1e670b06 to your computer and use it in GitHub Desktop.
Save stvhwrd/b23fe97300bd1da30ca3418d1e670b06 to your computer and use it in GitHub Desktop.
How to Install Latest Protobuf on Ubuntu 18.04

Building from Source

sudo apt install autoconf automake libtool curl make g++ unzip -y
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment