|
|
|
@ -11,15 +11,16 @@ wiki pages: |
|
|
|
|
|
|
|
|
|
On Linux (Debian): |
|
|
|
|
|
|
|
|
|
Note: you will need to add the Debian 'unstable' distribution to your source |
|
|
|
|
Note: you will need to add the Debian 'unstable' distribution to your sources |
|
|
|
|
file first. |
|
|
|
|
|
|
|
|
|
Add the following line to your `/etc/apt/sources.list` file: |
|
|
|
|
|
|
|
|
|
deb http://ftp.us.debian.org/debian unstable main contrib non-free |
|
|
|
|
deb http://ftp.us.debian.org/debian unstable main contrib non-free |
|
|
|
|
|
|
|
|
|
Install the gRPC library |
|
|
|
|
$ sudo apt-get install libgrpc-dev |
|
|
|
|
Install the gRPC library: |
|
|
|
|
|
|
|
|
|
$ [sudo] apt-get install libgrpc-dev |
|
|
|
|
|
|
|
|
|
OR |
|
|
|
|
|
|
|
|
@ -27,21 +28,21 @@ OR |
|
|
|
|
$ cd grpc |
|
|
|
|
$ git submodule update --init |
|
|
|
|
$ make |
|
|
|
|
$ sudo make install |
|
|
|
|
$ [sudo] make install |
|
|
|
|
|
|
|
|
|
You don't need anything else than GNU Make, gcc and autotools. Under a Debian |
|
|
|
|
or Ubuntu system, this should boil down to the following packages: |
|
|
|
|
|
|
|
|
|
$ apt-get install build-essential autoconf libtool |
|
|
|
|
$ [sudo] apt-get install build-essential autoconf libtool |
|
|
|
|
|
|
|
|
|
Building the python wrapper requires the following: |
|
|
|
|
|
|
|
|
|
$ apt-get install python-all-dev python-virtualenv |
|
|
|
|
$ [sudo] apt-get install python-all-dev python-virtualenv |
|
|
|
|
|
|
|
|
|
If you want to install in a different directory than the default /usr/lib, you can |
|
|
|
|
override it on the command line: |
|
|
|
|
|
|
|
|
|
$ make install prefix=/opt |
|
|
|
|
$ [sudo] make install prefix=/opt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
******************************* |
|
|
|
|