Skip to content

Preparing the build environment

Prepare a Debian VM or VPS to build OpenWrt and LibreMesh.

Preparing the build environment

Goal

Prepare Debian with the recorded dependencies and a dedicated build area.

The recorded VM had 200 GB storage, 16 processors at 2 GHz, and 8 GB RAM. These describe the used environment, not minimum requirements.

apt update
apt upgrade
apt install build-essential clang flex bison g++ gawk \
  gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev \
  rsync swig unzip zlib1g-dev file wget bzip2 byobu

The notes record mkdir /home/compila, cd /home/compila, and adduser compila. The order must be validated on a clean VM.

byobu

Check the user, permissions, directory, and persistent session.

Source

0 - LibreMaster2025 OpenWrt 24.10.7 - sistema OpenWrt e Lime Base.md

Last updated on