Installation

How to download or compile bpftool’s binary

Packages

Install bpftool from distribution packages

Release binaries

Get bpftool binaries from the official releases

Build from GitHub

Build bpftool from the GitHub mirror

Build from Linux tree

Build bpftool from the Linux kernel repository

Static builds

Compile bpftool statically to avoid runtime dependencies

Cross-compilation

Cross-compile bpftool for a different architecture

Alternative methods

Some other ways to run bpftool in your environment

Build features

Understand bpftool’s optional dependencies and features

Documentation

Build and access bpftool’s documentation and interactive help

Bash completion

Install bash completion for bpftool

Last modified December 5, 2023: installation: Add installation guides (e520c51)