Getting Started with the Repository
Requirements
Utilizing the eBPF module requires a Linux kernel (4.15+).
| Component | Version | Install Link |
|---|---|---|
| Rust | 1.76+ | INSTALL |
| CMake | Latest | INSTALL |
| NASM | Latest | INSTALL |
You may install these manually, but it is often easier to install them via
breworwinget. So open the Terminal and lets get started!
Install dependencies & configure PATH
All commands can be copy pasted into your terminal for easy usage!
Install via winget
-
Click here (32-bit) to download rust-up. Open the downloaded
.exefile and follow setup instructions.- Use the “Workload” tab to select the “Desktop Development with C++” option.
- Help
-
Open the Command Prompt
-
Press... + r
-
Type "cmd" into the run dialogue box.
-
-
Download the dependencies
Restart your shell after installation. Tools should be on your PATH automatically.
Install via homebrew (recommended)
-
Open the Terminal
- Press + space
- Search "Terminal" and press Enter
-
Ensure you have homebrew installed
a.
b.
-
Download dependencies w/ homebrew:
Restart your shell after installation. Tools should be on your PATH automatically.
Install via package manager
# Debian/Ubuntu
$ sudo apt update
$ sudo apt install -y curl build-essential nasm cmake
# Arch
$ sudo pacman -S rust nasm cmake
# Fedora/RHEL
$ sudo dnf install -y rust cargo nasm cmake
# Install Rust via rustup (if not installed via package manager)
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ source $HOME/.cargo/env