Skip to content

Commit 9577d46

Browse files
committed
doc: add BUILD.md
1 parent 54170ab commit 9577d46

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

BUILD.ubuntu20.04.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# BUILD on ubuntu 20.04
2+
3+
## Install build chain
4+
5+
```sh
6+
sudo apt-add-repository ppa:lttng/stable-2.13
7+
sudo apt-get update
8+
sudo apt-get install -y lttng-tools lttng-modules-dkms babeltrace liblttng-ust-dev build-essential cmake
9+
```
10+
11+
## Install OTP
12+
```
13+
wget https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_24.3.3-1~ubuntu~focal_amd64.deb
14+
sudo apt install ./esl-erlang_24.3.3-1~ubuntu~focal_amd64.deb
15+
```
16+
17+
## Fetch rebar3
18+
19+
``` bash
20+
wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
21+
export PATH=$PATH:./
22+
```
23+
24+
## then
25+
26+
```bash
27+
make
28+
```

0 commit comments

Comments
 (0)