This is an automated email from the ASF dual-hosted git repository.
tanruixiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 8aef674 docs: add sudo for install commands (#116)
8aef674 is described below
commit 8aef6744298bd9bc43c7cf437aaeb846688d902c
Author: caicancai <[email protected]>
AuthorDate: Fri Dec 22 18:54:02 2023 +0800
docs: add sudo for install commands (#116)
---
docs/src/cn/dev/compile_run.md | 2 +-
docs/src/en/dev/compile_run.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/src/cn/dev/compile_run.md b/docs/src/cn/dev/compile_run.md
index 50578bf..87a64d8 100644
--- a/docs/src/cn/dev/compile_run.md
+++ b/docs/src/cn/dev/compile_run.md
@@ -5,7 +5,7 @@
假设我们的开发环境是 Ubuntu20.04, 可以执行如下命令来安装所需的依赖。
```shell
-apt install git curl gcc g++ libssl-dev pkg-config cmake
+sudo apt install git curl gcc g++ libssl-dev pkg-config cmake protobuf-compiler
```
需要注意的是,项目的编译对 cmake、gcc、g++等依赖项有版本要求。
diff --git a/docs/src/en/dev/compile_run.md b/docs/src/en/dev/compile_run.md
index 6846ce3..7cd75e1 100644
--- a/docs/src/en/dev/compile_run.md
+++ b/docs/src/en/dev/compile_run.md
@@ -5,7 +5,7 @@ In order to compile HoraeDB, some relevant
dependencies(including the `Rust` too
Assuming the development environment is Ubuntu20.04, execute the following
command to install the required dependencies:
```shell
-apt install git curl gcc g++ libssl-dev pkg-config cmake
+sudo apt install git curl gcc g++ libssl-dev pkg-config cmake protobuf-compiler
```
It should be noted that the compilation of the project has version
requirements for dependencies such as cmake, gcc, g++, etc. If your development
environment is an old Linux distribution, it is necessary to manually install
these dependencies of a higher version.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]