Skip to content

Commit

Permalink
Merge pull request grpc#3142 from stanley-cheung/update_debian_source…
Browse files Browse the repository at this point in the history
…_instruction

Update debian source instruction
  • Loading branch information
tbetbetbe committed Aug 31, 2015
2 parents 8c0d6b3 + aec4ac8 commit 2641c04
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 25 deletions.
4 changes: 2 additions & 2 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ wiki pages:

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.

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:

Expand Down
6 changes: 3 additions & 3 deletions src/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Alpha : Ready for early adopters

**Linux (Debian):**

Add [Debian unstable][] to your `sources.list` file. Example:
Add [Debian testing][] to your `sources.list` file. Example:

```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
```

Expand Down Expand Up @@ -113,4 +113,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/
[Debian testing]:https://www.debian.org/releases/stretch/
23 changes: 9 additions & 14 deletions src/php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ $ sudo php -d detect_unicode=0 go-pear.phar

**Linux (Debian):**

Add [Debian unstable][] to your `sources.list` file. Example:
Add [Debian testing][] to your `sources.list` file. Example:

```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
```

Expand Down Expand Up @@ -73,29 +73,24 @@ This will download and run the [gRPC install script][] and compile the gRPC PHP

Clone this repository

```
```sh
$ 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
$ git pull --recurse-submodules && git submodule update --init --recursive
$ cd third_party/protobuf
$ ./autogen.sh
$ ./configure
$ make
$ make check
$ 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
$ cd grpc
$ make
$ sudo make install
$ cd grpc/third_party/protobuf
$ sudo make install # 'make' should have been run by core grpc
```

Install the gRPC PHP extension
Expand Down Expand Up @@ -172,4 +167,4 @@ $ ./bin/run_gen_code_test.sh
[homebrew]:http://brew.sh
[gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install
[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/
6 changes: 3 additions & 3 deletions src/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ INSTALLATION

**Linux (Debian):**

Add [Debian unstable][] to your `sources.list` file. Example:
Add [Debian testing][] to your `sources.list` file. Example:

```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
```

Expand Down Expand Up @@ -92,4 +92,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/
[Debian testing]:https://www.debian.org/releases/stretch/
6 changes: 3 additions & 3 deletions src/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ INSTALLATION

**Linux (Debian):**

Add [Debian unstable][] to your `sources.list` file. Example:
Add [Debian testing][] to your `sources.list` file. Example:

```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
```

Expand Down Expand Up @@ -99,4 +99,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/
[Debian testing]:https://www.debian.org/releases/stretch/

0 comments on commit 2641c04

Please sign in to comment.