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.

Revisions

  1. CheyenneForbes revised this gist May 15, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-proto.sh
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    PB_VERSION=2.5.0

    wget https://github.com/google/protobuf/releases/download/v$VERSION/protobuf-$PB_VERSION.tar.gz
    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
  2. CheyenneForbes revised this gist May 15, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-proto.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #! /bin/bash

    env PB_VERSION=2.5.0
    PB_VERSION=2.5.0

    wget https://github.com/google/protobuf/releases/download/v$VERSION/protobuf-$PB_VERSION.tar.gz
    tar xzf protobuf-$PB_VERSION.tar.gz
  3. CheyenneForbes revised this gist May 15, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions install-proto.sh
    Original file line number Diff line number Diff line change
    @@ -2,9 +2,9 @@

    env PB_VERSION=2.5.0

    wget https://github.com/google/protobuf/releases/download/v$VERSION/protobuf-$VERSION.tar.gz
    tar xzf protobuf-$VERSION.tar.gz
    cd protobuf-$VERSION
    wget https://github.com/google/protobuf/releases/download/v$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
  4. CheyenneForbes revised this gist May 15, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-proto.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #! /bin/bash

    VERSION = 2.5.0
    env PB_VERSION=2.5.0

    wget https://github.com/google/protobuf/releases/download/v$VERSION/protobuf-$VERSION.tar.gz
    tar xzf protobuf-$VERSION.tar.gz
  5. CheyenneForbes revised this gist May 15, 2017. 1 changed file with 6 additions and 3 deletions.
    9 changes: 6 additions & 3 deletions install-proto.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,10 @@
    #! /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

    VERSION = 2.5.0

    wget https://github.com/google/protobuf/releases/download/v$VERSION/protobuf-$VERSION.tar.gz
    tar xzf protobuf-$VERSION.tar.gz
    cd protobuf-$VERSION
    sudo apt-get update
    sudo apt-get install build-essential
    sudo ./configure
  6. @samklr samklr revised this gist Apr 20, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-proto.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    #! /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.tar.gz
    cd protobuf-2.6.1
    sudo apt-get update
    sudo apt-get install build-essential
    sudo ./configure
  7. @samklr samklr created this gist Apr 20, 2015.
    12 changes: 12 additions & 0 deletions install-proto.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    #! /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.tar.gz
    sudo apt-get update
    sudo apt-get install build-essential
    sudo ./configure
    sudo make
    sudo make check
    sudo make install
    sudo ldconfig
    protoc --version