Installing Poky on Debian
To install the necessary packages for a headless host system, run the following command:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping
If our host system has graphics support, run the following command:
$ sudo apt-get install libsdl1.2-dev xterm
The preceding commands are also compatible with the Ubuntu distributions.