Skip to content

Commit

Permalink
doc: add a list of build time dependencies to INSTALL.md
Browse files Browse the repository at this point in the history
Signed-off-by: Renato Westphal <[email protected]>
  • Loading branch information
rwestphal committed Sep 2, 2023
1 parent 831d26f commit 9b7b132
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,23 @@ If you don't already have Rust in your system, the best way to install it is via
$ git clone https://github.com/rwestphal/holo.git
```

3. Build `holod` and `holo-cli`
3. Install build dependencies:

Holo requires a few dependencies for building and embedding the libyang2 library.
You can install them using your system's package manager. For example, on Debian-based systems:

```
# apt-get install build-essential cmake libpcre2-dev protobuf-compiler
```

4. Build `holod` and `holo-cli`

```
$ cd holo/
$ cargo build --release
```

4. Installation
5. Installation

Copy the `holod` and `holo-cli` binaries from the `target/release` directory to your preferred location.

Expand Down

0 comments on commit 9b7b132

Please sign in to comment.