官术网_书友最值得收藏!

Configuring a host system

The process needed to set up our host system depends on the distribution we run on it. Poky has a set of supported Linux distributions, and if we are new to embedded Linux development, it is advisable to use one of the supported Linux distributions to avoid wasting time debugging build issues related to the host system support. Currently, the supported distributions are the following:

  • Ubuntu 12.04 (LTS)
  • Ubuntu 13.10
  • Ubuntu 14.04 (LTS)
  • Fedora release 19 (Schr?dinger's Cat)
  • Fedora release 20 (Heisenbug)
  • CentOS release 6.4
  • CentOS release 6.5
  • Debian GNU/Linux 7.x (Wheezy)
  • openSUSE 12.2
  • openSUSE 12.3
  • openSUSE 13.1

If our preferred distribution is not in the preceding list, it doesn't mean it is not possible to use Poky on it. However, it is unknown whether it will work, and we may get unexpected results.

The packages that need to be installed into the host system vary from one distribution to another. Throughout this book, you find instructions for Debian and Fedora, our preferred distributions. You can find the instructions for all supported distributions in the Yocto Project Reference Manual.

Installing Poky on Debian

To install the needed packages for a headless host system, run the following command:

$: sudo apt-get install gawk wget git-core diffstat unzip texinfo build-essential chrpath

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.

Installing Poky on Fedora

To install the needed packages for a headless host system, run the following command:

$: sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch diffutils diffstat git cpp gcc gcc-c++ eglibc-devel texinfo chrpath ccache

If our host system has graphics support, run the following command:

$: sudo yum install SDL-devel xterm
主站蜘蛛池模板: 依兰县| 错那县| 东莞市| 特克斯县| 两当县| 博兴县| 马边| 湖南省| 宁陕县| 上栗县| 喀什市| 乌兰浩特市| 衢州市| 滁州市| 攀枝花市| 乡宁县| 淮阳县| 天峻县| 八宿县| 蒲江县| 新竹县| 综艺| 绵阳市| 广宗县| 神木县| 枞阳县| 镇宁| 岳西县| 临漳县| 绍兴县| 长沙县| 聂荣县| 黑河市| 清流县| 清镇市| 尉犁县| 唐山市| 梅州市| 柘荣县| 内丘县| 进贤县|