Setting A Development Environment¶
Supported Linux Distributions¶
The full list of the Linux distributions that are suitable for the latest Yocto Project development is referenced here.
We recommend using Ubuntu 64-bit on a powerful physical PC (though using a virtual machine is also possible).
Please see the table below for a list of Ubuntu versions recommended for each release of the Yocto Project:
| Ubuntu 14.04 | Ubuntu 16.04 | Ubuntu 18.04 | Ubuntu 20.04 | Ubuntu 22.04 | Ubuntu 24.04 | |
|---|---|---|---|---|---|---|
| Yocto Krogoth (or earlier) | x | |||||
| Yocto Morty | x | x | ||||
| Yocto Pyro | x | |||||
| Yocto Rocko | x | |||||
| Yocto Sumo | x | |||||
| Yocto Thud | x | |||||
| Yocto Warrior | x | |||||
| Yocto Zeus | x | |||||
| Yocto Dunfell | x | x | ||||
| Yocto Gatesgarth | x | x | ||||
| Yocto Hardknott | x | x | ||||
| Yocto Kirkstone | x | x | x | |||
| Yocto Langdale | x | x | x | |||
| Yocto Mickledore | x | x | ||||
| Yocto Scarthgap | x | x | ||||
| Yocto Walnascar | x | x | x |
Installing Ubuntu 14.04 64-bit in VMware Player (for Yocto Morty and below)¶
There are many tutorials on the web. For example:
Installing Ubuntu 16.04 64-bit in VMware Player (for Yocto Morty through Warrior)¶
There are many tutorials on the web. For example:
VMware player recommended settings¶
- Set the number of CPUs to the maximum possible.
- Set the memory size to at least 8 GB.
- Set the disk size to be at least 200 GB. 300 GB is better.
- Use Bridge for networking.
- Install the VMware tools.
- If you have an extra hard drive you can use it as a physical partition and set your home directory to it.
- Update Ubuntu right after the first login.
Using a Docker container¶
Variscite provides Docker containers that can be used for a development environment as an alternative to using a virtual machine or a dedicated computer.
To learn more, please see Variscite's Docker Build Environment guide.