Skip to content

Instantly share code, notes, and snippets.

@1duo
Created June 25, 2018 18:09
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 1duo/38ac328fce58c3f14a2f4ac75bb4484d to your computer and use it in GitHub Desktop.
Save 1duo/38ac328fce58c3f14a2f4ac75bb4484d to your computer and use it in GitHub Desktop.
Install Protocol Buffers on Linux Ubuntu.

Protocol Buffers 2.6.1

sudo apt-get install build-essential
wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar -zxvf protobuf-2.6.1.tar.gz && cd protobuf-2.6.1/
./configure
make -j$(nproc) && make check
make install
protoc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment