Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Protobuf debian ...
#! /bin/bash
wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar xzf protobuf-2.6.1.tar.gz
cd protobuf-2.6.1
sudo apt-get update
sudo apt-get install build-essential
sudo ./configure
sudo make
sudo make check
sudo make install
sudo ldconfig
protoc --version
@volume8091

This comment has been minimized.

Copy link

@volume8091 volume8091 commented Feb 28, 2017

thanks a lot, you saved me some noticeable time

@WesThorburn

This comment has been minimized.

Copy link

@WesThorburn WesThorburn commented Mar 11, 2017

Thanks very much for posting this! The official Protobuf instructions seem to make the process seem so much more complicated.

@haxhaam

This comment has been minimized.

Copy link

@haxhaam haxhaam commented Mar 12, 2017

Thanks Man. You made my day!

@johnbaik1118

This comment has been minimized.

Copy link

@johnbaik1118 johnbaik1118 commented Mar 16, 2017

still make[1]: protoc-c: Command not found
error occurs

@CaptTofu

This comment has been minimized.

Copy link

@CaptTofu CaptTofu commented Mar 19, 2017

With debian jessie, I found I also needed:

apt-get install unzip autoconf m4 libtool

@lavenpillay

This comment has been minimized.

Copy link

@lavenpillay lavenpillay commented May 24, 2017

Thank you, sir ! And nice script, too ;)

@LeenaShekhar

This comment has been minimized.

Copy link

@LeenaShekhar LeenaShekhar commented Jul 20, 2017

Thank you so much for this. It surely made things easy.

@pabloelizalde

This comment has been minimized.

Copy link

@pabloelizalde pabloelizalde commented Dec 8, 2017

Thanks you so much for this!

@jaakla

This comment has been minimized.

Copy link

@jaakla jaakla commented Dec 15, 2017

everything what can, like configure, make and make check are normally run without sudo btw

@eyildiz-ugoe

This comment has been minimized.

Copy link

@eyildiz-ugoe eyildiz-ugoe commented Apr 4, 2018

Does not work for me, it still is libprotoc 3.4.0.

@cffjob

This comment has been minimized.

Copy link

@cffjob cffjob commented Jul 4, 2018

Very helpful. Thank you so much.

@javasaloon

This comment has been minimized.

Copy link

@javasaloon javasaloon commented Aug 9, 2018

it works for me. thanks a lot

@jw108

This comment has been minimized.

Copy link

@jw108 jw108 commented Nov 17, 2018

Thanks you so much !!!

@ealgase

This comment has been minimized.

Copy link

@ealgase ealgase commented Mar 20, 2019

Thank you!

@yangguochi

This comment has been minimized.

Copy link

@yangguochi yangguochi commented Jun 19, 2019

Helps a lot! Thank you man

@naruarjun

This comment has been minimized.

Copy link

@naruarjun naruarjun commented Jun 20, 2019

Thank you so much! This made my day.

@ziposcar

This comment has been minimized.

Copy link

@ziposcar ziposcar commented Nov 22, 2019

Awesome! Thank u a lot!

@whillt

This comment has been minimized.

Copy link

@whillt whillt commented Jan 11, 2021

tks bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment