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 | |
parent | dbeb1cd90c8f4596b2682f6c6d0182b25287391f (diff) |
update installation instructions, review feedback
Diffstat (limited to 'src')
-rw-r--r-- | src/node/README.md | 22 | ||||
-rw-r--r-- | src/python/README.md | 22 | ||||
-rw-r--r-- | src/ruby/README.md | 26 |
3 files changed, 63 insertions, 7 deletions
diff --git a/src/node/README.md b/src/node/README.md index 61f4a01edd..08ccedf7d8 100644 --- a/src/node/README.md +++ b/src/node/README.md @@ -8,7 +8,26 @@ Alpha : Ready for early adopters - [homebrew][] on Mac OS X. These simplify the installation of the gRPC C core. ## INSTALLATION -On Mac OS X, install [homebrew][]. Run the following command to install gRPC Node.js. + +**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 Node.js. ```sh $ curl -fsSL https://goo.gl/getgrpc | bash -s nodejs ``` @@ -88,3 +107,4 @@ An object with factory methods for creating credential objects for servers. [homebrew]:http://brew.sh [gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install +[debian unstable]:https://www.debian.org/releases/sid/ 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/ diff --git a/src/ruby/README.md b/src/ruby/README.md index dd6671bb66..979fb1a70b 100644 --- a/src/ruby/README.md +++ b/src/ruby/README.md @@ -16,7 +16,26 @@ PREREQUISITES INSTALLATION --------------- -On Mac OS X, install [homebrew][]. Run the following command to install gRPC Ruby. + +**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 Ruby. ```sh $ curl -fsSL https://goo.gl/getgrpc | bash -s ruby ``` @@ -25,10 +44,6 @@ This will download and run the [gRPC install script][], then install the latest BUILD FROM SOURCE --------------------- - Clone this repository -- Install the gRPC core library. Please refer to the [INSTALL](https://github.com/grpc/grpc/blob/master/INSTALL) file for more instructions. -```sh -$ sudo apt-get install libgrpc-dev -``` - Install Ruby 2.x. Consider doing this with [RVM](http://rvm.io), it's a nice way of controlling the exact ruby version that's used. @@ -78,3 +93,4 @@ Directory structure is the layout for [ruby extensions][] [ruby extensions]:http://guides.rubygems.org/gems-with-extensions/ [rubydoc]: http://www.rubydoc.info/gems/grpc [grpc.io]: http://www.grpc.io/docs/installation/ruby.html +[debian unstable]:https://www.debian.org/releases/sid/ |