TipsAndTricks/GentooLinux-RequiredPackagesforYoctoBuildHost
From Yocto Project
Jump to navigationJump to search
Gentoo Linux - Required Packages for Yocto Build Host
The following packages are required to build a Yocto image on Gentoo Linux. Note that several third-party guides reference incorrect package atoms — the verified atoms are listed below.
emerge -av \ dev-vcs/git \ dev-lang/python:3.11 \ dev-python/pip \ dev-util/diffstat \ app-admin/chrpath \ sys-apps/texinfo \ dev-libs/glib \ sys-apps/file \ app-arch/xz-utils \ sys-libs/zlib \ dev-build/cmake \ dev-lang/perl \ app-misc/screen \ app-shells/bash \ sys-process/lsof \ app-arch/cpio \ app-arch/tar \ sys-apps/util-linux \ sys-apps/gawk \ net-misc/socat
Common mistakes in third-party guides
Several widely referenced guides list incorrect Gentoo package atoms that do not exist in the Portage tree. Use the following verified atoms instead:
app-admin/chrpath— notdev-util/chrpathorapp-text/chrpathapp-arch/cpio— notdev-util/cpiodev-build/cmake— notdev-util/cmake
Python version compatibility
Prefer dev-lang/python:3.11 or dev-lang/python:3.12.
Python 3.13 may cause issues with Scarthgap and Nanbield releases.
Verified on Gentoo Linux (OpenRC, amd64), Portage tree April 2026.