#!/usr/bin/env bash
set -euo pipefail

echo "==> Updating package index..."
sudo apt update

echo "==> Installing core development and networking tools..."
sudo apt install -y \
  mc build-essential gdb valgrind cmake ninja-build pkg-config \
  git git-lfs \
  python3 python3-pip python3-venv \
  libssl-dev libffi-dev zlib1g-dev \
  iproute2 net-tools iputils-ping traceroute mtr-tiny dnsutils \
  curl wget nmap tcpdump socat netcat-openbsd \
  iftop nload htop jq tree tmux

echo "==> Setup complete!"