aboutsummaryrefslogtreecommitdiff
path: root/content/en/docs/Start/install.md
blob: 736d1a2faafd9a3ffc9afbc9be59407edbe67e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
title: "Install from source"
author: "Dimitri Staessens"
date:  2019-07-23
weight: 30
draft: false
description: >
    Installation instructions.
---

We recommend creating a build directory:

```bash
$ mkdir build && cd build
```

Run cmake providing the path to where you cloned the Ouroboros
repository. Assuming you created the build directory inside the
repository directory, do:

```bash
$ cmake ..
```

Build and install Ouroboros:

```bash
$ sudo make install
```

### Advanced options

Ouroboros can be configured by providing parameters to the cmake
command:

```bash
$ cmake -D<option>=<value> ..
```

Alternatively, after running cmake and before installation, run
[ccmake](https://cmake.org/cmake/help/v3.0/manual/ccmake.1.html) to
configure Ouroboros:

```bash
$ ccmake .
```

A list of all options can be found [here](/compopt).

### Remove Ouroboros

To uninstall Ouroboros, simply execute the following command from your
build directory:

```bash
$ sudo make uninstall
```