Packages

Install bpftool from distribution packages

Many Linux distributions package bpftool, albeit some of them like Ubuntu integrate it to broader packages.

Alpine

Alpine Linux has a bpftool package:

# apk add bpftool

Debian

Debian has a bpftool package:

# apt install bpftool

Debian is one of these distributions shipping a binary that does not contain the disassembler for JIT-compiled eBPF code.

Fedora

Fedora has a bpftool package:

# dnf install bpftool

Ubuntu

Ubuntu ships bpftool via the Linux tools:

# apt install linux-tools-common linux-tools-generic

Ubuntu is one of these distributions shipping a binary that does not contain the disassembler for JIT-compiled eBPF code.

Others

Packaging status

New packages

If you’re looking into packaging bpftool, please take a look at the FAQ.

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