Skip to content

Instantly share code, notes, and snippets.

@nicolasrosa
Forked from samklr/install-proto.sh
Last active November 22, 2018 12:15
Show Gist options
  • Save nicolasrosa/c2ab667a38148d62f220cd6294358762 to your computer and use it in GitHub Desktop.
Save nicolasrosa/c2ab667a38148d62f220cd6294358762 to your computer and use it in GitHub Desktop.
Install Protobuf debian ...
#! /bin/bash
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install autoconf automake libtool curl make g++ unzip
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 ./autogen.sh
sudo ./configure
sudo make -j8
sudo make check -j8
sudo make install
sudo ldconfig # refresh shared library cache.
protoc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment