# Prerequisites

## Supported Operating Systems

- **Debian** 10+
- **Ubuntu** 20.04+
- **Arch Linux** (latest)
- **Fedora** 35+
- **Raspberry Pi OS**
- Other Linux distributions with kernel 4.15+
- Windows 10+ (Binaries available in build artifacts)

#### Supported Architectures

- **amd64** (x86_64)
- **arm64** (aarch64) - Raspberry Pi 4, AWS Graviton
- **armhf** (ARMv7) - Raspberry Pi 3
- **riscv64** (experimental)

## Software Dependencies

GPU support requires additional libraries:

```bash
sudo apt update
sudo apt install libdrm-dev libdrm-amdgpu1
```

### For Cargo Installation

#### 1. Rust Toolchain

Rust 1.70+ required.

```bash
# Install Rust via rustup (recommended)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Verify installation
rustc --version
cargo --version

# Update if needed
rustup update
```

#### 2. Build Dependencies

**Debian/Ubuntu:**
```bash
sudo apt install build-essential pkg-config libssl-dev libdrm-dev libdrm-amdgpu1
```

**Fedora:**
```bash
sudo dnf install gcc pkg-config openssl-devel
```

**Arch Linux:**
```bash
sudo pacman -S base-devel openssl
```
