Skip to content

Instantly share code, notes, and snippets.

@samklr
Created April 20, 2015 08:19
Show Gist options
  • Star 43 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save samklr/0b8a0620f82005e7f556 to your computer and use it in GitHub Desktop.
Save samklr/0b8a0620f82005e7f556 to your computer and use it in GitHub Desktop.
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
@haxhaam
Copy link

haxhaam commented Mar 12, 2017

Thanks Man. You made my day!

@johnbaik1118
Copy link

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

@CaptTofu
Copy link

With debian jessie, I found I also needed:

apt-get install unzip autoconf m4 libtool

@lavenpillay
Copy link

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

@LeenaShekhar
Copy link

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

@pabloelizalde
Copy link

Thanks you so much for this!

@jaakla
Copy link

jaakla commented Dec 15, 2017

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

@eyildiz-ugoe
Copy link

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

@cffjob
Copy link

cffjob commented Jul 4, 2018

Very helpful. Thank you so much.

@javasaloon
Copy link

it works for me. thanks a lot

@jw108
Copy link

jw108 commented Nov 17, 2018

Thanks you so much !!!

@ealgase
Copy link

ealgase commented Mar 20, 2019

Thank you!

@yangguochi
Copy link

Helps a lot! Thank you man

@naruarjun
Copy link

Thank you so much! This made my day.

@ziposcar
Copy link

Awesome! Thank u a lot!

@whillt
Copy link

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