aboutsummaryrefslogtreecommitdiff
path: root/content/download/install.md
blob: ef8220c864cc7b075efb400de616cd81e7276ecf (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
---
title: "Install Ouroboros"
draft: false
---

We recommend creating a build directory:

```
$ 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:

```
$ cmake ..
```

Build and install Ouroboros:

```
$ sudo make install
```

### Advanced options

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

```
$ 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:

```
$ 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:

```
$ sudo make uninstall
```