From 90062f92c1deb063b05fb7bb846d8858a8a11f6a Mon Sep 17 00:00:00 2001 From: youji Date: Thu, 21 Sep 2017 06:37:53 -0700 Subject: [PATCH] change: update text format for getting_started.md Signed-off-by: youji --- docs/cn/getting_started.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/cn/getting_started.md b/docs/cn/getting_started.md index f04318c803..9c246f00d9 100644 --- a/docs/cn/getting_started.md +++ b/docs/cn/getting_started.md @@ -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