Skip to content
Snippets Groups Projects
Commit 2641c045 authored by Tim Emiola's avatar Tim Emiola
Browse files

Merge pull request #3142 from stanley-cheung/update_debian_source_instruction

Update debian source instruction
parents 8c0d6b37 aec4ac82
No related branches found
No related tags found
No related merge requests found
...@@ -11,12 +11,12 @@ wiki pages: ...@@ -11,12 +11,12 @@ wiki pages:
On Linux (Debian): On Linux (Debian):
Note: you will need to add the Debian 'unstable' distribution to your sources Note: you will need to add the Debian 'testing' distribution to your sources
file first. file first.
Add the following line to your `/etc/apt/sources.list` file: 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 testing main contrib non-free
Install the gRPC library: Install the gRPC library:
......
...@@ -11,10 +11,10 @@ Alpha : Ready for early adopters ...@@ -11,10 +11,10 @@ Alpha : Ready for early adopters
**Linux (Debian):** **Linux (Debian):**
Add [Debian unstable][] to your `sources.list` file. Example: Add [Debian testing][] to your `sources.list` file. Example:
```sh ```sh
echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" | \ echo "deb http://ftp.us.debian.org/debian testing main contrib non-free" | \
sudo tee -a /etc/apt/sources.list sudo tee -a /etc/apt/sources.list
``` ```
...@@ -113,4 +113,4 @@ An object with factory methods for creating credential objects for servers. ...@@ -113,4 +113,4 @@ An object with factory methods for creating credential objects for servers.
[homebrew]:http://brew.sh [homebrew]:http://brew.sh
[gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install [gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install
[Debian unstable]:https://www.debian.org/releases/sid/ [Debian testing]:https://www.debian.org/releases/stretch/
...@@ -32,10 +32,10 @@ $ sudo php -d detect_unicode=0 go-pear.phar ...@@ -32,10 +32,10 @@ $ sudo php -d detect_unicode=0 go-pear.phar
**Linux (Debian):** **Linux (Debian):**
Add [Debian unstable][] to your `sources.list` file. Example: Add [Debian testing][] to your `sources.list` file. Example:
```sh ```sh
echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" | \ echo "deb http://ftp.us.debian.org/debian testing main contrib non-free" | \
sudo tee -a /etc/apt/sources.list sudo tee -a /etc/apt/sources.list
``` ```
...@@ -73,29 +73,24 @@ This will download and run the [gRPC install script][] and compile the gRPC PHP ...@@ -73,29 +73,24 @@ This will download and run the [gRPC install script][] and compile the gRPC PHP
Clone this repository Clone this repository
``` ```sh
$ git clone https://github.com/grpc/grpc.git $ git clone https://github.com/grpc/grpc.git
``` ```
Build and install the Protocol Buffers compiler (protoc) Build and install the gRPC C core libraries
``` ```sh
$ cd grpc $ cd grpc
$ git pull --recurse-submodules && git submodule update --init --recursive $ git pull --recurse-submodules && git submodule update --init --recursive
$ cd third_party/protobuf
$ ./autogen.sh
$ ./configure
$ make $ make
$ make check
$ sudo make install $ sudo make install
``` ```
Build and install the gRPC C core libraries Note: you may encounter a warning about the Protobuf compiler `protoc` 3.0.0+ not being installed. The following might help, and will be useful later on when we need to compile the `protoc-gen-php` tool.
```sh ```sh
$ cd grpc $ cd grpc/third_party/protobuf
$ make $ sudo make install # 'make' should have been run by core grpc
$ sudo make install
``` ```
Install the gRPC PHP extension Install the gRPC PHP extension
...@@ -172,4 +167,4 @@ $ ./bin/run_gen_code_test.sh ...@@ -172,4 +167,4 @@ $ ./bin/run_gen_code_test.sh
[homebrew]:http://brew.sh [homebrew]:http://brew.sh
[gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install [gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install
[Node]:https://github.com/grpc/grpc/tree/master/src/node/examples [Node]:https://github.com/grpc/grpc/tree/master/src/node/examples
[Debian unstable]:https://www.debian.org/releases/sid/ [Debian testing]:https://www.debian.org/releases/stretch/
...@@ -16,10 +16,10 @@ INSTALLATION ...@@ -16,10 +16,10 @@ INSTALLATION
**Linux (Debian):** **Linux (Debian):**
Add [Debian unstable][] to your `sources.list` file. Example: Add [Debian testing][] to your `sources.list` file. Example:
```sh ```sh
echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" | \ echo "deb http://ftp.us.debian.org/debian testing main contrib non-free" | \
sudo tee -a /etc/apt/sources.list sudo tee -a /etc/apt/sources.list
``` ```
...@@ -92,4 +92,4 @@ $ ../../tools/distrib/python/submit.py ...@@ -92,4 +92,4 @@ $ ../../tools/distrib/python/submit.py
[gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install [gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install
[Quick Start]:http://www.grpc.io/docs/tutorials/basic/python.html [Quick Start]:http://www.grpc.io/docs/tutorials/basic/python.html
[detailed example]:http://www.grpc.io/docs/installation/python.html [detailed example]:http://www.grpc.io/docs/installation/python.html
[Debian unstable]:https://www.debian.org/releases/sid/ [Debian testing]:https://www.debian.org/releases/stretch/
...@@ -19,10 +19,10 @@ INSTALLATION ...@@ -19,10 +19,10 @@ INSTALLATION
**Linux (Debian):** **Linux (Debian):**
Add [Debian unstable][] to your `sources.list` file. Example: Add [Debian testing][] to your `sources.list` file. Example:
```sh ```sh
echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" | \ echo "deb http://ftp.us.debian.org/debian testing main contrib non-free" | \
sudo tee -a /etc/apt/sources.list sudo tee -a /etc/apt/sources.list
``` ```
...@@ -99,4 +99,4 @@ Directory structure is the layout for [ruby extensions][] ...@@ -99,4 +99,4 @@ Directory structure is the layout for [ruby extensions][]
[ruby extensions]:http://guides.rubygems.org/gems-with-extensions/ [ruby extensions]:http://guides.rubygems.org/gems-with-extensions/
[rubydoc]: http://www.rubydoc.info/gems/grpc [rubydoc]: http://www.rubydoc.info/gems/grpc
[grpc.io]: http://www.grpc.io/docs/installation/ruby.html [grpc.io]: http://www.grpc.io/docs/installation/ruby.html
[Debian unstable]:https://www.debian.org/releases/sid/ [Debian testing]:https://www.debian.org/releases/stretch/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment