~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to system/doc/installation_guide/install-binary.xml

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="latin1" ?>
 
2
<!DOCTYPE chapter SYSTEM "chapter.dtd">
 
3
 
 
4
<chapter>
 
5
  <header>
 
6
    <copyright>
 
7
      <year>2000</year><year>2010</year>
 
8
      <holder>Ericsson AB. All Rights Reserved.</holder>
 
9
    </copyright>
 
10
    <legalnotice>
 
11
      The contents of this file are subject to the Erlang Public License,
 
12
      Version 1.1, (the "License"); you may not use this file except in
 
13
      compliance with the License. You should have received a copy of the
 
14
      Erlang Public License along with this software. If not, it can be
 
15
      retrieved online at http://www.erlang.org/.
 
16
 
 
17
      Software distributed under the License is distributed on an "AS IS"
 
18
      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
19
      the License for the specific language governing rights and limitations
 
20
      under the License.
 
21
 
 
22
    </legalnotice>
 
23
 
 
24
    <title>Installing the Binary Release</title>
 
25
    <prepared>Peter H&ouml;gfeldt</prepared>
 
26
    <responsible>Peter H&ouml;gfeldt</responsible>
 
27
    <docno></docno>
 
28
    <approved>(Peter H&ouml;gfeldt</approved>
 
29
    <checked></checked>
 
30
    <date>1997-05-26</date>
 
31
    <rev>C</rev>
 
32
    <file>install-binary.xml</file>
 
33
  </header>
 
34
 
 
35
  <section>
 
36
    <title>UNIX</title>
 
37
 
 
38
    <section>
 
39
      <title>Introduction</title>
 
40
      <p>The system is delivered as a single compressed tar file.</p>
 
41
      <p>To browse the on-line HTML documentation, Netscape or an equivalent
 
42
        browser supporting frames is needed.</p>
 
43
    </section>
 
44
 
 
45
    <section>
 
46
      <title>Installation Procedure</title>
 
47
      <p>When installed, the entire system, except for a small start-up
 
48
        script, resides in a single directory tree. The location of this
 
49
        directory tree can be chosen arbitrarily by the installer, and it
 
50
        does not need to be in the user's <c>$PATH</c>. The only requirements
 
51
        are that the file system where it is placed has enough free space,
 
52
        and that the users who run Erlang/OTP have read access to it. In the
 
53
        example below, the directory tree is assumed to be located at
 
54
        <c>/usr/local/erlang</c>, which is here called the <em>top-level directory</em>.</p>
 
55
      <p>It is assumed that you have the compressed tar file, the name of
 
56
        which is <c><![CDATA[<PREFIX>.tar.gz]]></c>, where <c><![CDATA[<PREFIX>]]></c> is a string
 
57
        denoting the particular Erlang/OTP release, e.g.
 
58
        <c>otp_LXA_11930_sunos5_R9B</c>.</p>
 
59
      <p>Wherever the string <c><![CDATA[<PREFIX>]]></c> is used below, it should
 
60
        be replaced by the actual name prefix of the compressed tar file.</p>
 
61
      <p>The tape archive file does not have one single directory in which
 
62
        all other files are rooted. Therefore the tape archive file must be
 
63
        extracted into an empty (newly created) directory.</p>
 
64
      <list type="ordered">
 
65
        <item>
 
66
          <p>If the <em>top-level directory</em> does not already exist,
 
67
            create it:</p>
 
68
          <pre>
 
69
mkdir /usr/local/erlang</pre>
 
70
        </item>
 
71
        <item>
 
72
          <p>Change the current directory to the <em>top level directory</em>:</p>
 
73
          <pre>
 
74
cd /usr/local/erlang</pre>
 
75
        </item>
 
76
        <item>
 
77
          <p>Create the <em>installation directory</em> with an appropriate
 
78
            name. For example:</p>
 
79
          <pre>
 
80
mkdir otp_r7b</pre>
 
81
        </item>
 
82
        <item>
 
83
          <p>Change to the <em>installation directory</em>, e.g.</p>
 
84
          <pre>
 
85
cd otp_r7b</pre>
 
86
        </item>
 
87
        <item>
 
88
          <p>Assuming the compressed tar file resides in the directory
 
89
            <c><![CDATA[<SOME-DIR>]]></c>,. extract the compressed tar file into the
 
90
            current directory:</p>
 
91
          <pre>
 
92
gunzip -c &lt;SOME-DIR&gt;/&lt;PREFIX&gt;.tar.gz | tar xfp -</pre>
 
93
        </item>
 
94
        <item>
 
95
          <p>Read the <c>README</c> file in the installation directory for
 
96
            last minute updates, before proceeding.</p>
 
97
        </item>
 
98
        <item>
 
99
          <p>Run the <c>Install</c> script in the installation directory,
 
100
            with the absolute path of the installation directory as argument,</p>
 
101
          <pre>
 
102
./Install /usr/local/erlang/otp_r7b</pre>
 
103
          <p>and supply answers to the prompts.</p>
 
104
          <p>In most cases, there is a default answer in square brackets
 
105
            (<c>[]</c>). If the default is satisfactory, just press
 
106
            <c><![CDATA[<Return>]]></c>. In general you are only prompted for one thing:</p>
 
107
          <list type="bulleted">
 
108
            <item>
 
109
              <p>"Do you want to use a minimal system startup instead of the
 
110
                SASL startup?"                <br></br>
 
111
 
 
112
                In a minimal system, only the Kernel and STDLIB applications
 
113
                are loaded and started. If the SASL startup is used, the SASL
 
114
                application is included as well. Normally, the minimal system
 
115
                is enough.</p>
 
116
            </item>
 
117
          </list>
 
118
        </item>
 
119
        <item>
 
120
          <p>Make Erlang/OTP available for users, either by putting the path
 
121
            <c>/usr/local/erlang/otp_r7b/bin</c> in users <c>$PATH</c>
 
122
            variable, or link the executable
 
123
            <c>/usr/local/erlang/otp_r7b/bin/erl</c> accordingly, e.g.:</p>
 
124
          <pre>
 
125
ln -s /usr/local/erlang/otp_r7b/bin/erl /usr/local/bin/erl </pre>
 
126
        </item>
 
127
      </list>
 
128
    </section>
 
129
  </section>
 
130
 
 
131
  <section>
 
132
    <title>Windows</title>
 
133
 
 
134
    <section>
 
135
      <title>Introduction</title>
 
136
      <p>The system is delivered as a single <c>.exe</c> file.</p>
 
137
      <p>To browse the on-line HTML documentation, Netscape or an equivalent
 
138
        browser supporting frames is needed.</p>
 
139
    </section>
 
140
 
 
141
    <section>
 
142
      <title>Installation Procedure</title>
 
143
      <p>The installation procedure is is automated. Double-click the
 
144
        <c>.exe</c> file icon and follow the instructions.</p>
 
145
    </section>
 
146
  </section>
 
147
</chapter>