diff options
author | Stanley Cheung <stanleycheung@google.com> | 2015-08-19 10:43:28 -0700 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2015-08-19 14:39:05 -0700 |
commit | a79a896d4cc12d4ee594e37afee65fdb30f5d274 (patch) | |
tree | 21e340d3ae83f1789cf72c48cfb9c7af78d17d62 /src/python | |
parent | dbeb1cd90c8f4596b2682f6c6d0182b25287391f (diff) |
update installation instructions, review feedback
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/README.md | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/python/README.md b/src/python/README.md index 2a8ae3c604..b3b2f303d4 100644 --- a/src/python/README.md +++ b/src/python/README.md @@ -13,7 +13,26 @@ PREREQUISITES INSTALLATION ------------- -On Mac OS X, install [homebrew][]. Run the following command to install gRPC Python. + +**Linux (Debian):** + +Add [debian unstable][] (sid) to your `sources.list` file. Example: + +```sh +echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" | \ +sudo tee -a /etc/apt/sources.list +``` + +Install the gRPC debian package + +```sh +sudo apt-get update +sudo apt-get install libgrpc-dev +``` + +**Mac OS X** + +Install [homebrew][]. Run the following command to install gRPC Python. ```sh $ curl -fsSL https://goo.gl/getgrpc | bash -s python ``` @@ -62,3 +81,4 @@ $ ../../tools/distrib/python/submit.py [gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install [Quick Start]:http://www.grpc.io/docs/tutorials/basic/python.html [detailed example]:http://www.grpc.io/docs/installation/python.html +[debian unstable]:https://www.debian.org/releases/sid/ |