summaryrefslogtreecommitdiffstats
path: root/doc/book-enea-linux-release-info/doc/prerequisites.xml
blob: 587b812400ad65b5977fc21287d42a094f137cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<chapter id="prerequisites">
  <title>Prerequisites</title>

  <para>Building Enea Linux or compiling applications requires some packages
  to be installed on your Linux development host. See the list of Required
  Packages for Host Development System, found in the Yocto 2.1 document:
  <ulink
  url="https://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#required-packages-for-the-host-development-system">https://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#required-packages-for-the-host-development-system</ulink>.
  If needed, replace 2.1 with the actual Yocto version in your Enea Linux
  distribution.<remark>Sorry by the list in the Yocto document do not seem to
  be enough at all at least for platform building! Therefore we need to add a
  complete list here, and we actually have a bigger list than we needed, but
  it's better to have more and not be needed than to lack
  information.</remark></para>

  <para>Install Host Packages</para>

  <note>
    <para>The list below is generic and might contain packages that are not
    necessary. Additional packages might be required to build for some
    targets. See the Enea Linux Release Information if more packages are
    needed and which hosts have been tested by Enea for this Enea Linux
    release.<remark>QUEST: Are the lists below ok? The lists below try to
    cover ALL normal use cases for both ApplGuide and PlatfGuide, incl.
    Eclipse, instead of limiting to some use case. Easier to keep
    updated.</remark></para>
  </note>

  <section id="inst-host-packages-ubuntu-debian">
    <title>Ubuntu 14.04 LTS, 64-bit</title>

    <para>Ensure the system is up-to-date:</para>

    <programlisting>$ sudo apt-get update</programlisting>

    <para>For a supported <emphasis role="bold">Ubuntu</emphasis><indexterm>
        <primary>Ubuntu</primary>
      </indexterm> distribution you need the following packages:</para>

    <programlisting># sudo apt-get install sed wget subversion git-core
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils fop gawk
    python-pysqlite2 diffstat make gcc build-essential xsltproc g++
    desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake
    groff libtool xterm libxml-parser-perl</programlisting>
  </section>
</chapter>