Getting Started

Welcome to PythonBPF! This section will help you get started with writing eBPF programs in Python.

What You’ll Learn

In this section, you’ll learn how to:

  1. Install PythonBPF - Set up your development environment with all necessary dependencies

  2. Write Your First Program - Create a simple BPF program to understand the basics

  3. Understand Core Concepts - Learn about decorators, compilation, and program structure

Prerequisites

Before you begin, make sure you have:

  • A Linux system (eBPF requires Linux kernel 4.15+)

  • Python 3.10 or higher

  • Root or sudo access (required for loading BPF programs)

Next Steps

After completing the getting started guide, you can:

Need Help?

If you encounter any issues: