Install Protocol Buffer Compiler — Linux

ADMAT Bandara
2 min readAug 24, 2020

--

This is a quick article to explain the steps about installing the google protocol buffer compiler.

here is the main link you have to follow

Grap your version . In my case I have Ubuntu 18.04 LTS.

I am gonna take the “protobuf-all-3.13.0.tar.gz

Step 01

Then, Download and extract the file.

Step 02

Go inside the folder and

./configure

Step 03

Do the make command. This might take some time to complete.

make

Step 04

Do the make check command to makefile.

make check

at the end of this test, a report will be given. like this

Step 05

Now, let’s install the file.

sudo make install

Step 06

Let’s refresh the shared library cache once done.

sudo ldconfig

Step 07

Done !!!

Just test it out with the version command

protoc --version

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Responses (1)

Write a response