Skip to content

Instantly share code, notes, and snippets.

@CheyenneForbes
Forked from samklr/install-proto.sh
Last active March 13, 2018 15:13
Show Gist options
  • Save CheyenneForbes/61e02c8f3e2601b7a23ca17ae657afac to your computer and use it in GitHub Desktop.
Save CheyenneForbes/61e02c8f3e2601b7a23ca17ae657afac to your computer and use it in GitHub Desktop.
Install Protobuf debian ...
#! /bin/bash
PB_VERSION=2.5.0
wget https://github.com/google/protobuf/releases/download/v$PB_VERSION/protobuf-$PB_VERSION.tar.gz
tar xzf protobuf-$PB_VERSION.tar.gz
cd protobuf-$PB_VERSION
sudo apt-get update
sudo apt-get install build-essential
sudo ./configure
sudo make
sudo make check
sudo make install
sudo ldconfig
protoc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment