Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save dink10/bfc5cb2cdfa9865de30aef680702a6e4 to your computer and use it in GitHub Desktop.

Select an option

Save dink10/bfc5cb2cdfa9865de30aef680702a6e4 to your computer and use it in GitHub Desktop.

Revisions

  1. @sofyan-ahmad sofyan-ahmad revised this gist Jul 24, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install protobuf 3 on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -10,6 +10,6 @@ sudo mv protoc3/bin/* /usr/local/bin/
    # Move protoc3/include to /usr/local/include/
    sudo mv protoc3/include/* /usr/local/include/

    # Optional change owner
    # Optional: change owner
    sudo chwon [user] /usr/local/bin/protoc
    sudo chwon -R [user] /usr/local/include/google
  2. @sofyan-ahmad sofyan-ahmad revised this gist Jul 24, 2017. 1 changed file with 9 additions and 2 deletions.
    11 changes: 9 additions & 2 deletions Install protobuf 3 on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -4,5 +4,12 @@ curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.
    # Unzip
    unzip protoc-3.2.0-linux-x86_64.zip -d protoc3

    # Move only protoc* to /usr/bin/
    sudo mv protoc3/bin/protoc /usr/bin/protoc
    # Move protoc to /usr/local/bin/
    sudo mv protoc3/bin/* /usr/local/bin/

    # Move protoc3/include to /usr/local/include/
    sudo mv protoc3/include/* /usr/local/include/

    # Optional change owner
    sudo chwon [user] /usr/local/bin/protoc
    sudo chwon -R [user] /usr/local/include/google
  3. @sofyan-ahmad sofyan-ahmad revised this gist Apr 7, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install protobuf 3 on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Make sure you grab latest version
    # Make sure you grab the latest version
    curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip

    # Unzip
  4. @sofyan-ahmad sofyan-ahmad revised this gist Apr 7, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install protobuf 3 on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,4 @@ curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.
    unzip protoc-3.2.0-linux-x86_64.zip -d protoc3

    # Move only protoc* to /usr/bin/
    sudo mv protoc3/protoc /usr/bin/protoc
    sudo mv protoc3/bin/protoc /usr/bin/protoc
  5. @sofyan-ahmad sofyan-ahmad revised this gist Apr 7, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Install protobuf 3 on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    # Make sure you grab latest version
    curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-osx-x86_32.zip
    curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip

    # Unzip
    unzip protoc-3.0.0-beta-2-linux-x86_64.zip -d protoc3
    unzip protoc-3.2.0-linux-x86_64.zip -d protoc3

    # Move only protoc* to /usr/bin/
    sudo mv protoc3/protoc /usr/bin/protoc
  6. @sofyan-ahmad sofyan-ahmad revised this gist Apr 7, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Install protobuf 3 on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -4,5 +4,5 @@ curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.
    # Unzip
    unzip protoc-3.0.0-beta-2-linux-x86_64.zip -d protoc3

    # Move only protoc* to /bin/
    sudo mv protoc3/protoc /bin/protoc
    # Move only protoc* to /usr/bin/
    sudo mv protoc3/protoc /usr/bin/protoc
  7. @sofyan-ahmad sofyan-ahmad revised this gist Apr 7, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install protobuf 3 on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # Make sure you grab latest version
    curl -OL https://github.com/google/protobuf/releases/download/v3.0.0-beta-2/protoc-3.0.0-beta-2-linux-x86_64.zip
    curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-osx-x86_32.zip

    # Unzip
    unzip protoc-3.0.0-beta-2-linux-x86_64.zip -d protoc3
  8. @sofyan-ahmad sofyan-ahmad created this gist May 8, 2016.
    8 changes: 8 additions & 0 deletions Install protobuf 3 on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # Make sure you grab latest version
    curl -OL https://github.com/google/protobuf/releases/download/v3.0.0-beta-2/protoc-3.0.0-beta-2-linux-x86_64.zip

    # Unzip
    unzip protoc-3.0.0-beta-2-linux-x86_64.zip -d protoc3

    # Move only protoc* to /bin/
    sudo mv protoc3/protoc /bin/protoc