Skip to content

Commit d016a24

Browse files
committed
setup_dependencies: update bpftool install directions for Ubuntu
Ubuntu 18.04, 19.10 and later versions have bpftool packaged as part as the linux-tools-common, linux-tools-generic packages (like perf). Update the instructions accordingly. Debian still has no package, leave it in a dedicated section. Signed-off-by: Quentin Monnet <quentin@isovalent.com>
1 parent 8695de4 commit d016a24

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

setup_dependencies.org

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,20 @@ On a machine running the Fedora Linux distribution, install package:
162162
$ sudo dnf install bpftool
163163
#+end_example
164164

165-
** Packages on Debian/Ubuntu
165+
** Packages on Ubuntu
166+
167+
Starting from Ubuntu 19.10, bpftool can be installed with:
168+
169+
#+begin_example
170+
$ sudo apt install linux-tools-common linux-tools-generic
171+
#+end_example
172+
173+
(Ubuntu 18.04 LTS also has it, but it is an old and quite limited bpftool
174+
version.)
175+
176+
** Packages on Debian
166177

167-
Unfortunately, bpftool is not officially packaged for Debian/Ubuntu
178+
Unfortunately, bpftool is not officially packaged for Debian
168179
[[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896165)][yet]].
169180

170181
However, note that an unofficial

0 commit comments

Comments
 (0)