1#!/bin/sh
2
3#
4# Install dependencies that aren't available as Ubuntu packages.
5#
6# Everything goes into $HOME/local.
7#
8# Scripts should add
9# - $HOME/local/bin to PATH
10# - $HOME/local/lib to LD_LIBRARY_PATH
11#
12
13cd
14mkdir -p local
15
16# Install protoc
17PROTOC_URL=https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
18echo $PROTOC_URL
19curl -fSsL $PROTOC_URL -o protoc.zip
20unzip protoc.zip -d local
21
22# Verify installation
23find local
24