Skip to content

Instantly share code, notes, and snippets.

@yuechen91
Forked from samklr/install-proto.sh
Created February 18, 2021 01:42
Show Gist options
  • Select an option

  • Save yuechen91/e7103f111d3a6fa10e0ce4593ff33113 to your computer and use it in GitHub Desktop.

Select an option

Save yuechen91/e7103f111d3a6fa10e0ce4593ff33113 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