Skip to content

Instantly share code, notes, and snippets.

@tonyspan
tonyspan / README.md
Created March 3, 2021 13:36
Install gRPC C++

Install gRPC C++

A simple bash script to build and locally install gRPC C++. The instructions either on gRPC's website or other places weren't clear enough (at least for me) on how to install it. I spent about a week to finally install it and use it on my project.

Create a .sh file (e.g Install-gRPC.sh) containing the following code.

#!/bin/bash

DISTRO=$(awk -F= '/^ID=/{print $2}' /etc/os-release)