Update README; Prepend sudo to apt commands.

This commit is contained in:
Christian Deacon
2023-06-06 21:44:04 +00:00
parent 91d9cf814f
commit 32e316adda

View File

@@ -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: