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

commented Feb 28, 2017

thanks a lot, you saved me some noticeable time

@WesThorburn

This comment has been minimized.

Copy link

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

commented Mar 12, 2017

Thanks Man. You made my day!

@johnbaik1118

This comment has been minimized.

Copy link

commented Mar 16, 2017

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

@CaptTofu

This comment has been minimized.

Copy link

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

commented May 24, 2017

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

@LeenaShekhar

This comment has been minimized.

Copy link

commented Jul 20, 2017

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

@pabloelizalde

This comment has been minimized.

Copy link

commented Dec 8, 2017

Thanks you so much for this!

@jaakla

This comment has been minimized.

Copy link

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

commented Apr 4, 2018

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

@cffjob

This comment has been minimized.

Copy link

commented Jul 4, 2018

Very helpful. Thank you so much.

@javasaloon

This comment has been minimized.

Copy link

commented Aug 9, 2018

it works for me. thanks a lot

@jw108

This comment has been minimized.

Copy link

commented Nov 17, 2018

Thanks you so much !!!

@TemporaryUsername12481

This comment has been minimized.

Copy link

commented Mar 20, 2019

Thank you!

@yangguochi

This comment has been minimized.

Copy link

commented Jun 19, 2019

Helps a lot! Thank you man

@naruarjun

This comment has been minimized.

Copy link

commented Jun 20, 2019

Thank you so much! This made my day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.