Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
9f9f8573
Unverified
Commit
9f9f8573
authored
Aug 01, 2019
by
Ge Jun
Committed by
GitHub
Aug 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add -y to apt-get commands
parent
9ce4f9c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
getting_started.md
docs/cn/getting_started.md
+5
-10
No files found.
docs/cn/getting_started.md
View file @
9f9f8573
...
@@ -18,29 +18,24 @@ brpc depends on following packages:
...
@@ -18,29 +18,24 @@ brpc depends on following packages:
## Ubuntu/LinuxMint/WSL
## Ubuntu/LinuxMint/WSL
### Prepare deps
### Prepare deps
Install common deps:
Install common deps,
[
gflags
](
https://github.com/gflags/gflags
)
,
[
protobuf
](
https://github.com/google/protobuf
)
,
[
leveldb
](
https://github.com/google/leveldb
)
:
```
shell
sudo
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
)
:
```
shell
```
shell
sudo
apt-get
install
libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
sudo
apt-get
install
-y
git g++ make libssl-dev cmake
libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
```
```
If you need to statically link leveldb:
If you need to statically link leveldb:
```
shell
```
shell
sudo
apt-get
install
libsnappy-dev
sudo
apt-get
install
-y
libsnappy-dev
```
```
If you need to enable cpu/heap profilers in examples:
If you need to enable cpu/heap profilers in examples:
```
shell
```
shell
sudo
apt-get
install
libgoogle-perftools-dev
sudo
apt-get
install
-y
libgoogle-perftools-dev
```
```
If you need to run tests, install and compile libgtest-dev (which is not compiled yet):
If you need to run tests, install and compile libgtest-dev (which is not compiled yet):
```
shell
```
shell
sudo
apt-get
install
libgtest-dev
&&
cd
/usr/src/gtest
&&
sudo
cmake
.
&&
sudo
make
&&
sudo mv
libgtest
*
/usr/lib/
&&
cd
-
sudo
apt-get
install
-y
libgtest-dev
&&
cd
/usr/src/gtest
&&
sudo
cmake
.
&&
sudo
make
&&
sudo mv
libgtest
*
/usr/lib/
&&
cd
-
```
```
The directory of gtest source code may be changed, try
`/usr/src/googletest/googletest`
if
`/usr/src/gtest`
is not there.
The directory of gtest source code may be changed, try
`/usr/src/googletest/googletest`
if
`/usr/src/gtest`
is not there.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment