Prepare Your Host

Here are the steps for setting up a Yocto Project* 1.x environment on your host. Go to to see a list of required packages for Debian* , Fedora*, or other releases.

  1. On your Linux* host, download the pre-built toolchain from The following sample toolchain tar file is for a Yocto Project 1.2, 32-bit development host system and a 32-bit target architecture:


  2. Install your selected tar file on your Linux* development host in the root "/" directory, to create an installation area /opt/poky/1.x.

  3. Set up your Linux* host

    1. There are many supported Linux distributions. See the Yocto Project* Quick Start for information on the required setup for supported Linux* distributions:

    2. To setup a Ubuntu* x64 12.04 system for example, run:

      $ sudo apt-get install sed wget cvs subversion git-core coreutils \
                 unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \
                  python-pysqlite2 diffstat help2man make gcc build-essential \
                  g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \
                  mercurial autoconf automake groff

For more complete information about compiler optimizations, see our Optimization Notice.