1
<?xml version="1.0" encoding="latin1" ?>
2
<!DOCTYPE chapter SYSTEM "chapter.dtd">
7
<year>2000</year><year>2010</year>
8
<holder>Ericsson AB. All Rights Reserved.</holder>
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/.
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
24
<title>Installing the Binary Release</title>
25
<prepared>Peter Högfeldt</prepared>
26
<responsible>Peter Högfeldt</responsible>
28
<approved>(Peter Högfeldt</approved>
30
<date>1997-05-26</date>
32
<file>install-binary.xml</file>
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>
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>
66
<p>If the <em>top-level directory</em> does not already exist,
69
mkdir /usr/local/erlang</pre>
72
<p>Change the current directory to the <em>top level directory</em>:</p>
74
cd /usr/local/erlang</pre>
77
<p>Create the <em>installation directory</em> with an appropriate
78
name. For example:</p>
83
<p>Change to the <em>installation directory</em>, e.g.</p>
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>
92
gunzip -c <SOME-DIR>/<PREFIX>.tar.gz | tar xfp -</pre>
95
<p>Read the <c>README</c> file in the installation directory for
96
last minute updates, before proceeding.</p>
99
<p>Run the <c>Install</c> script in the installation directory,
100
with the absolute path of the installation directory as argument,</p>
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">
109
<p>"Do you want to use a minimal system startup instead of the
110
SASL startup?" <br></br>
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
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>
125
ln -s /usr/local/erlang/otp_r7b/bin/erl /usr/local/bin/erl </pre>
132
<title>Windows</title>
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>
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>