Geek Culture
Published in

Geek Culture

How to Set Up Yocto Project on Your Machine Made Easy


Install the necessary Linux Operating system packages.

That depends upon the Linux distribution you are using. For simplicity, you should use a Linux distribution recommended in the Yocto Project’s guidelines.

My example for preparation applies to Linux Ubuntu and Debian.

$ sudo apt-get update
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib
$ sudo apt-get install build-essential chrpath socat cpio python python3
$ sudo apt-get install python3-pip python3-pexpect libsdl1.2-dev xterm

Set up Poky

Poky is Yocto Project’s own distribution system.

Step 1. Clone the poky repository

$ git clone git://
screenshot: operation of cloning the repository is in progress
screenshot: operation of cloning the repository is completed

It will create a directory called ‘poky’ once the retrieval of files is completed.

Step 2. Change to poky directory

$ cd poky/

Step 3. Check all available tags inside Poky repository

These shows all the version of Yocto Project, available through Poky.

$ git tag
Scrolling available. Screenshot shows only the top of the list

Step 4. Checkout the desired version of Poky

You can pick any version you want, the example goes for ‘dunfell’ (the current version at the time of writing this)

$ git checkout dunfell
poky is set to version ‘dunfell’

Note: Check what version of Poky

If you are here and for some reason you do not know which is the version of Poky you are using, you can make use of reading the content of the following file:

$ more /poky/meta-poky/conf/distro/poky.conf




A new tech publication by Start it up (

Recommended from Medium

A 360-Degree Guide to Cost of Hiring Remote Node.js Developers

Non-Disclosure Agreement Template: Step-by-step Guide for Automation

Unity: How to implement raytracing in a grid

in-game image of fog of war

How to automatically set currency based on IP using WPML WooCommerce Multilingual

Computer Graphics Metafile (.cgm) format for Technical Illustrations

Test Automation: Going Beyond the limits using AI-Based Testing

Handling non-alphanumeric fields in AWS CloudWatch Log Insights

The thing (nearshore) that you needed, but you didn’t know. — VELV

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
George Calin

George Calin

for 15 years mentoring people, providing ERP support, writing business intelligence reports, programming (business apps and embedded Linux).

More from Medium

Unable to run bag of features

Tensorflow nan hell

Graph-Theoretic Algorithms

CodeSignal Arcade Graphs Roads Building (2/66)