Commit 60718404 authored by Brendan Gregg's avatar Brendan Gregg Committed by Alastair Robertson

Add Ubuntu requirements command

parent a74b368c
...@@ -30,7 +30,17 @@ To use some BPFtrace features, minimum kernel versions are required: ...@@ -30,7 +30,17 @@ To use some BPFtrace features, minimum kernel versions are required:
- LLVM 5.0 development packages - LLVM 5.0 development packages
- LibElf - LibElf
For example, installing the requirements on Ubuntu:
```
apt-get update
apt-get install -y bison cmake flex g++ git libclang-5.0-dev libelf-dev llvm-5.0-dev zlib1g-dev
```
### Compilation ### Compilation
See previous requirements.
``` ```
git clone https://github.com/ajor/bpftrace git clone https://github.com/ajor/bpftrace
mkdir -p bpftrace/build mkdir -p bpftrace/build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment