Protobuf or Protocol buffers are a mechanism for serializing structured data in a faster, and simpler way. It is language-neutral, platform-neutral and extensible.

To install Protobuf in Ubuntu, you need to clone its GIT repository and compile it. Below are the list of commands to get the installation of Protobuf done in Ubuntu.

sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone
cd protobuf
git submodule update --init --recursive
make check
sudo make install
sudo ldconfigCode language: Bash (bash)

If you also need the python bindings to protobuf, then install it using the below pip command.

pip install protobuf

Download HitXP Mobile App

Get it on Google Play