From 752a10fa5f990b37cf861506719bb9af6ee9aade Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi <76248539+r41k0u@users.noreply.github.com> Date: Sun, 30 Nov 2025 05:35:50 +0530 Subject: [PATCH] Add installation instructions to README Added installation instructions and dependencies section to README. --- README.md | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index c2c71ec..d59ffef 100644 --- a/README.md +++ b/README.md @@ -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