Home Questions - Answers How to Install Protobuf (protoc or protocol buffers) in Ubuntu?

How to Install Protobuf (protoc or protocol buffers) in Ubuntu?

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 https://github.com/protocolbuffers/protobuf cd protobuf git submodule update --init --recursive ./autogen.sh ./configure make make check sudo make install sudo ldconfig
Code language: Bash (bash)

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

pip install protobuf
Content Protection by DMCA.com

Download HitXP Mobile App

Get it on Google Play
Gurudevhttps://www.hitxp.com
Gurudev is the developer of Gurunudi AI Platform. This is his official website where he pens his thoughts on a wide range of topics, answers queries, shares resources and tools developed by him.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

FacebookLike
InstagramFollow
PinterestFollow
RSS FeedSubscribe
Sound CloudFollow
TwitterFollow
YoutubeSubscribe

Latest Articles

The difference between Itihasa and Puranas

Documentation of ancient Indian history and the historical events of Indian civilization in the form of Itihasa and Puranas - Ramayana and Mahabharata.

Online Education should be interactive and innovative – Fun to Learn

For online education to succeed for smaller classses - it should be as interesting as cartoons. Online education cant succeed unless it is more interesting, interactive and innovative than offline schooling.

The Complete List of Dhatus – Sanskrit Root Words and their English meaning

A complete list of all dhatus (root words or verb roots) in Sanskrit dictionary and their meanings with corresponding IPA transliteration.

Sanskrit Lesson 4 – Word Creation Magic using Dhatus

Learn how easy it is to create new words in Sanskrit using root words called Dhatus. This simple process of Sanskrit grammar powers the entire language.

Latest Music Notations

Bodyguard Title Song – Piano Notations

Piano, Keyboard, Violin, Flute notes, Guitar Tabs and Sheet Music of the Song Bodyguard Title Song from the 2011 Hindi movie Bodyguard in Western and Indian Notations.

Kabhi Kabhi Mere Dil Mein – Kabhie Kabhie – Piano Notations

Piano, Keyboard, Violin, Flute notes, Guitar Tabs and Sheet Music of the Song Kabhi Kabhi Mere Dil Mein from the 1976 Hindi movie Kabhie Kabhie in Western and Indian Notations.

Chammak Challo – Ra One – Piano Notations

Piano, Keyboard, Violin, Flute notes, Guitar Tabs and Sheet Music of the Song Chammak Challo from the 2011 Hindi movie Ra One in Western and Indian Notations.

Rasathi Unnai – Vaidehi Kathirunthal – Piano Notations

Piano, Keyboard, Violin, Flute notes, Guitar Tabs and Sheet Music of the Song Rasathi Unnai from the 1984 Tamil movie Vaidehi Kathirunthal in Western and Indian Notations.
Content Protection by DMCA.com