Skip to content

Commit

Permalink
Merge pull request #529 from imranzaheer612/imran-dev
Browse files Browse the repository at this point in the history
Add Build dependencies in Readme
  • Loading branch information
cole-miller authored Aug 15, 2023
2 parents 837eeee + aeb8b03 commit 641fdfd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ To build libdqlite from source you'll need:
Your distribution should already provide you with a pre-built libuv shared
library and libsqlite3-dev.

For the Debian-based Linux distros you can install the build dependencies with:

```
sudo apt install autoconf libuv1-dev liblz4-dev libtool pkg-config build-essential libsqlite3-dev
```

To build the raft library:

```
Expand Down
6 changes: 6 additions & 0 deletions README_CH.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ sudo apt-get install libdqlite-dev

您的linux发行版应该已经为您提供了预构建的 libuv 共享库和 libsqlite3-dev,就不需要在下载了,否则还需要下载这两个依赖。

对于基于 Debian 的 Linux 发行版,您可以使用以下命令安装构建依赖项:

```
sudo apt install autoconf libuv1-dev liblz4-dev libtool pkg-config build-essential libsqlite3-dev
```

编译raft库运行如下命令:

```bash
Expand Down

0 comments on commit 641fdfd

Please sign in to comment.