From 32e316addafa99ae40a0bfdb31114d79a4edb762 Mon Sep 17 00:00:00 2001 From: Christian Deacon Date: Tue, 6 Jun 2023 21:44:04 +0000 Subject: [PATCH] Update README; Prepend sudo to apt commands. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 712566d..24c65d6 100644 --- a/README.md +++ b/README.md @@ -129,13 +129,13 @@ Before building, ensure the following packages are installed. These packages are ```bash # Install dependencies. -apt install -y libconfig-dev llvm clang libelf-dev build-essential +sudo apt install -y libconfig-dev llvm clang libelf-dev build-essential # Install dependencies for building LibXDP and LibBPF. -apt install -y libpcap-dev m4 gcc-multilib +sudo apt install -y libpcap-dev m4 gcc-multilib # You need tools for your kernel since we need BPFTool. If this doesn't work, I'd suggest building BPFTool from source (https://github.com/libbpf/bpftool). -apt install -y linux-tools-$(uname -r) +sudo apt install -y linux-tools-$(uname -r) ``` You can use `git` and `make` to build this project. The following should work: