Skip to content

01. Prerequisites

Lester Lo edited this page Feb 4, 2025 · 1 revision

OS requirement

In the current LTS yocto release (Scarthgap-5.0.6), it is recommended to use Ubuntu-22.04 to build the image. But Ubuntu-24.04 is also working.

For more information, please visit Official Yocto Build Guide.

Requried Software packages

Install to following software packages from apt

sudo apt install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 liblz4-tool locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd repo

Generate the local files

sudo locale-gen en_US.UTF-8