Skip to content

Commit 752a10f

Browse files
authored
Add installation instructions to README
Added installation instructions and dependencies section to README.
1 parent 3602b50 commit 752a10f

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,22 @@ Python-BPF is an LLVM IR generator for eBPF programs written in Python. It uses
4040

4141
---
4242

43+
## Installation
44+
45+
Dependencies:
46+
47+
* `bpftool`
48+
* `clang`
49+
* Python ≥ 3.8
50+
51+
Install via pip:
52+
53+
```bash
54+
pip install pythonbpf pylibbpf
55+
```
56+
57+
---
58+
4359
## Try It Out!
4460

4561
#### First, generate the vmlinux.py file for your kernel:
@@ -70,20 +86,6 @@ curl -s https://raw.githubusercontent.com/pythonbpf/Python-BPF/refs/heads/master
7086
```
7187
- Check the jupyter server on the web browser and run the notebooks in the `BCC-Examples/` folder.
7288

73-
## Installation
74-
75-
Dependencies:
76-
77-
* `bpftool`
78-
* `clang`
79-
* Python ≥ 3.8
80-
81-
Install via pip:
82-
83-
```bash
84-
pip install pythonbpf pylibbpf
85-
```
86-
8789
---
8890

8991
## Example Usage

0 commit comments

Comments
 (0)