1.2 Install Dependencies and Verify the Versions
Further information on this and the following sections can be referenced from the following link: docs.zephyrproject.org/latest/develop/getting_started/index.html.
Install dependencies
$ sudo apt install --no-install-recommends git cmake ninja-build gperf ccache dfu-util device-tree-compiler wget python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1
Verify the versions of the main dependencies
$ cmake --version
$ python3 --version
$ dtc –version