Skip to content

Instantly share code, notes, and snippets.

@jambonn
Last active October 26, 2023 07:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jambonn/1f5fffc23f97f8413372a438739c1bff to your computer and use it in GitHub Desktop.
Save jambonn/1f5fffc23f97f8413372a438739c1bff to your computer and use it in GitHub Desktop.
How to Install Protobuf on Ubuntu 20.04
1. sudo apt-get install autoconf automake libtool curl make g++ unzip -y
2. Download the appropriate release here:
https://github.com/protocolbuffers/protobuf/releases/tag/v3.5.1 <protobuf-all-3.5.1.tar.gz
>
3. Unzip the folder
4. Enter the folder and run ./autogen.sh && ./configure && make
5. Then run these other commands. They should run without issues:
$ make check
$ sudo make install
$ which protoc
$ sudo ldconfig
$ protoc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment