TipsAndTricks/GentooLinux-RequiredPackagesforYoctoBuildHost

From Yocto Project
Revision as of 07:49, 13 April 2026 by Aurelien DESBRIERES (talk | contribs) (Gentoo Linux - Required Packages for Yocto Build Host - creation page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 — not dev-util/chrpath or app-text/chrpath
  • app-arch/cpio — not dev-util/cpio
  • dev-build/cmake — not dev-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.