Skip to content

Commit

Permalink
update depencies of compile
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust committed Jun 16, 2020
1 parent da41e42 commit 74b1052
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/manual/get_executable.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ FSICO-BCOS使用通用[CMake](https://cmake.org)构建系统生成特定平台
推荐Ubuntu 16.04以上版本,16.04以下的版本没有经过测试,源码编译时依赖于编译工具和`libssl`

```bash
$ sudo apt install -y g++ libssl-dev openssl cmake git build-essential autoconf texinfo
sudo apt install -y g++ libssl-dev openssl cmake git build-essential autoconf texinfo flex patch bison libgmp-dev
```

- CentOS
Expand All @@ -49,21 +49,21 @@ $ sudo apt install -y g++ libssl-dev openssl cmake git build-essential autoconf

```bash
$ sudo yum install -y epel-release
$ sudo yum install -y openssl-devel openssl cmake3 gcc-c++ git
$ sudo yum install -y openssl-devel openssl cmake3 gcc-c++ git flex patch bison gmp-static
```

- macOS

推荐xcode10以上版本。macOS依赖包安装依赖于[Homebrew](https://brew.sh/)

```bash
$ brew install openssl git
brew install openssl git flex patch bison gmp
```

### 克隆代码

```bash
$ git clone https://github.com/FISCO-BCOS/FISCO-BCOS.git
git clone https://github.com/FISCO-BCOS/FISCO-BCOS.git
```

### 编译
Expand Down
8 changes: 4 additions & 4 deletions en/docs/manual/get_executable.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ FISCO BCOS is using generic [CMake](https://cmake.org) to generate platform-spec
Ubuntu 16.04 or later is recommended. The versions below 16.04 have not been tested. You will require to have the build tools build tools and `libssl` for compiling the source code.

```bash
$ sudo apt install -y g++ libssl-dev openssl cmake git build-essential autoconf texinfo
sudo apt install -y g++ libssl-dev openssl cmake git build-essential autoconf texinfo flex patch bison libgmp-dev
```

- CentOS
Expand All @@ -51,21 +51,21 @@ CentOS7 version or later is recommended.

```bash
$ sudo yum install -y epel-release
$ sudo yum install -y openssl-devel openssl cmake3 gcc-c++ git
$ sudo yum install -y openssl-devel openssl cmake3 gcc-c++ git flex patch bison gmp-static
```

- macOS

xcode10 version and above are recommended. macOS dependent package installation depends on [Homebrew](https://brew.sh/).

```bash
$ brew install openssl git
brew install openssl git flex patch bison gmp
```

### Code clone

```bash
$ git clone https://github.com/FISCO-BCOS/FISCO-BCOS.git
git clone https://github.com/FISCO-BCOS/FISCO-BCOS.git
```

### Compile
Expand Down

0 comments on commit 74b1052

Please sign in to comment.