Add installation instructions to README

Added installation instructions and dependencies section to README.
This commit is contained in:
Pragyansh Chaturvedi
2025-11-30 05:35:50 +05:30
committed by GitHub
parent 3602b502f4
commit 752a10fa5f

View File

@ -40,6 +40,22 @@ Python-BPF is an LLVM IR generator for eBPF programs written in Python. It uses
---
## Installation
Dependencies:
* `bpftool`
* `clang`
* Python ≥ 3.8
Install via pip:
```bash
pip install pythonbpf pylibbpf
```
---
## Try It Out!
#### 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
```
- Check the jupyter server on the web browser and run the notebooks in the `BCC-Examples/` folder.
## Installation
Dependencies:
* `bpftool`
* `clang`
* Python ≥ 3.8
Install via pip:
```bash
pip install pythonbpf pylibbpf
```
---
## Example Usage