Skip to content

Instantly share code, notes, and snippets.

@LiShuMing
Forked from samklr/install-proto.sh
Created January 30, 2018 06:10
Show Gist options
  • Save LiShuMing/56c3eee34451cb32e82f53dfbe4d4f2a to your computer and use it in GitHub Desktop.
Save LiShuMing/56c3eee34451cb32e82f53dfbe4d4f2a 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment