Skip to content

Instantly share code, notes, and snippets.

@samklr
Created April 20, 2015 08:19
Show Gist options
  • 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
@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