Skip to content

Instantly share code, notes, and snippets.

@cqpx
Forked from diegopacheco/google-protobuf.linux.md
Last active February 5, 2021 14:59
Show Gist options
  • Save cqpx/ff1c0751e04bdd027468226d75b39d8a to your computer and use it in GitHub Desktop.
Save cqpx/ff1c0751e04bdd027468226d75b39d8a to your computer and use it in GitHub Desktop.
How to Install Google Protocol Buffers on Ubuntu Linux 15.10?
sudo apt-get install -y git autoconf automake libtool curl make g++ unzip
git clone https://github.com/google/protobuf.git
cd protobuf/
./autogen.sh
./configure
make
make check
sudo make install
sudo ldconfig # refresh shared library cache.
protoc -h
@zarda
Copy link

zarda commented Jul 16, 2018

Does it matter if "make check" tells error?
Makefile:1970: recipe for target 'check-local' failed
Makefile:1832: recipe for target 'check-am' failed

Copy link

ghost commented Jul 3, 2019

How to uninstall if outdated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment