Skip to content

Commit

Permalink
Merge pull request apache#47 from JiYou/change-doc-format
Browse files Browse the repository at this point in the history
make code snippets in getting_started.md more comprehensive
  • Loading branch information
jamesge authored Sep 22, 2017
2 parents 6e69191 + 90062f9 commit af24a43
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/cn/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,24 @@ brpc depends on following packages:

## Ubuntu/LinuxMint/WSL
### Prepare deps
install common deps: `git g++ make libssl-dev`

install [gflags](https://github.com/gflags/gflags), [protobuf](https://github.com/google/protobuf), [leveldb](https://github.com/google/leveldb), including: `libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev`. If you need to statically link leveldb, install `libsnappy-dev` as well.
- install common deps:

```
$ apt-get install git g++ make libssl-dev
```

- install [gflags](https://github.com/gflags/gflags), [protobuf](https://github.com/google/protobuf), [leveldb](https://github.com/google/leveldb):

```
$ apt-get install libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
```

- If you need to statically link leveldb:

```
$ apt-get install libsnappy-dev
```

### Compile brpc
git clone brpc, cd into the repo and run
Expand Down

0 comments on commit af24a43

Please sign in to comment.