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.

%MINIFYHTMLb4a8c18a0aebf0e50b319983c2f305cb43%
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

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
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 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.

The Secret Role of Karma in Mahabharata

The seeds of Mahabharata were sown long back Duryodhana or Dhritarashtra were born. The story of Kaurvas and Pandavas is only the second half of the cycle of Karma. So what is the first half?

The Real Super Food is free and all around you

Are you looking for some super food that can keep you healthy and strong forever? Do you want to stay free from all illness and health issues?

Latest Music Notations

Background Theme (BGM) – Mouna Ragam – Piano Notations

Piano, Keyboard, Violin, Flute notes, Guitar Tabs and Sheet Music of the Song Background Theme (BGM) from the 1986 Tamil movie Mouna Ragam in Western and Indian Notations.

Dil Kya Kare Jab Kisi Se – Julie – Piano Notations

Piano, Keyboard, Violin, Flute notes, Guitar Tabs and Sheet Music of the Song Dil Kya Kare Jab Kisi Se from the 1975 Hindi movie Julie in Western and Indian Notations.

Albela Sajan Aayo Re – Hum Dil De Chuke Sanam – Piano Notations

Piano, Keyboard, Violin, Flute notes, Guitar Tabs and Sheet Music of the Song Albela Sajan Aayo Re from the 1999 Hindi movie Hum Dil De Chuke Sanam in Western and Indian Notations.

Chinni Chinni Aasa Chinnadaani Asa – Roja – Piano Notations

Piano, Keyboard, Violin, Flute notes, Guitar Tabs and Sheet Music of the Song Chinni Chinni Aasa Chinnadaani Asa from the 1992 Telugu movie Roja in Western and Indian Notations.
Content Protection by DMCA.com