From 8e32083bcf4f033e9af69dfb8c994c0da80e1a70 Mon Sep 17 00:00:00 2001 From: Amber1990Zhang <42762957+Amber1990Zhang@users.noreply.github.com> Date: Wed, 25 Mar 2020 16:45:14 +0800 Subject: [PATCH] modify commands in build doc --- .../1.build/1.build-source-code.md | 12 ++++++------ .../1.build/1.build-source-code.md | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/manual-CN/3.build-develop-and-administration/1.build/1.build-source-code.md b/docs/manual-CN/3.build-develop-and-administration/1.build/1.build-source-code.md index d0209ff9ab9..b145676aec3 100644 --- a/docs/manual-CN/3.build-develop-and-administration/1.build/1.build-source-code.md +++ b/docs/manual-CN/3.build-develop-and-administration/1.build/1.build-source-code.md @@ -9,10 +9,10 @@ * 处理器: x86_64 * 内存: 至少 4GB * 存储空间: 至少 10GB -* Linux 内核: 2.3.32 或更高版本,通过命令`uname -r`查看 -* glibc: 2.12 或更高版本,通过命令`ldd --version`查看 -* GCC: 7.1.0 或更高版本,通过命令`g++ --version`查看 -* CMake: 3.5.0 或更高版本,通过命令`cmake --version`查看 +* Linux 内核: 2.3.32 或更高版本,通过命令 `uname -r` 查看 +* glibc: 2.12 或更高版本,通过命令 `ldd --version` 查看 +* GCC: 7.1.0 或更高版本,通过命令 `g++ --version` 查看 +* CMake: 3.5.0 或更高版本,通过命令 `cmake --version` 查看 * 能够访问互联网 **注意**: **Nebula Graph** 目前仅支持 x86_64 架构。 @@ -71,8 +71,8 @@ ArchLinux、Gentoo 或者 LFS 用户请自行安装。 在开始编译之前,请确保编译器和 CMake 版本满足要求: ```bash -$ g++ version -$ cmake version +$ g++ --version +$ cmake --version ``` 否则,请分别参考 [安装 GCC](#安装可用的-gcc) 或 [安装 CMake](#安装可用的-cmake) 进行操作。 diff --git a/docs/manual-EN/3.build-develop-and-administration/1.build/1.build-source-code.md b/docs/manual-EN/3.build-develop-and-administration/1.build/1.build-source-code.md index 02bac0df79b..5301ec78f70 100644 --- a/docs/manual-EN/3.build-develop-and-administration/1.build/1.build-source-code.md +++ b/docs/manual-EN/3.build-develop-and-administration/1.build/1.build-source-code.md @@ -71,8 +71,8 @@ For Arch and Gentoo users, you can definitely handle all of these on your own, r To make sure your GCC and CMake are in the right version: ```bash -$ g++ version -$ cmake version +$ g++ --version +$ cmake --version ``` If not, please refer to [Install an Applicable CMake](#install-an-applicable-cmake) and [Install an Applicable GCC](#install-an-applicable-gcc).