source: trunk/adm/guides/get.xml @ 90

Last change on this file since 90 was 90, checked in by pinsard, 15 years ago

improve guides

File size: 7.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE article [
3<!ENTITY % isolat1 SYSTEM "http://www.w3.org/2003/entities/iso8879/isolat1.ent">
4%isolat1;
5<!ENTITY % isolat2 SYSTEM "http://www.w3.org/2003/entities/iso8879/isolat2.ent">
6%isolat2;
7<!ENTITY % isogrk3 SYSTEM "http://www.w3.org/2003/entities/iso8879/isogrk3.ent">
8%isogrk3;
9<!ENTITY % isopub SYSTEM "http://www.w3.org/2003/entities/iso8879/isopub.ent">
10%isopub;
11<!ENTITY % isotech SYSTEM "http://www.w3.org/2003/entities/iso8879/isotech.ent">
12%isotech;
13<!ENTITY % isonum SYSTEM "http://www.w3.org/2003/entities/iso8879/isonum.ent">
14%isonum;
15<!ENTITY project "SUPERBIB">
16<!ENTITY project_svn "superbib">
17]>
18<article version="5.0"
19xmlns="http://docbook.org/ns/docbook"
20xmlns:xl="http://www.w3.org/1999/xlink"
21xmlns:xi="http://www.w3.org/2001/XInclude"
22xml:lang="en"
23xml:id="get">
24
25  <title>Get <application>&project;</application></title>
26
27  <info>
28   <pubdate>$Id$</pubdate>
29  </info>
30
31
32  <sect1 xml:id="create_env">
33    <title> Create <application>&project;</application> environment </title>
34    <para>
35      To simplify the explanation, we suppose that we install <application>&project;</application> in your <filename class='directory'>${HOME}/&project;_ws/</filename> (<quote>ws</quote> for <quote>working space</quote>).
36    </para>
37    <para>
38      <screen>
39  <prompt>$</prompt> <userinput><command>cd</command> <parameter>${HOME}</parameter></userinput>
40  <prompt>$</prompt> <userinput><command>mkdir</command> <parameter>&project;_ws/</parameter></userinput>
41      </screen>
42    </para>
43  </sect1>
44
45
46 <sect1 xml:id="get_files">
47    <title> Get <application>&project;</application> files </title>
48
49
50    <sect2 xml:id="local">
51      <title> If you work on LOCEAN systems</title>
52      <para>
53The latest operation release <application>&project;</application> is already installed at
54<itemizedlist>
55  <listitem>
56           <simpara>LOCEAN: <filename class='directory'>/usr/home/fplod/&project;_DIR</filename>
57           </simpara>
58         </listitem>
59</itemizedlist>
60If you can access one of this directory, there is no need to re-install <application>&project;</application> again! In that case, you only have to link <filename class='directory'>${HOME}/&project;_DIR</filename> to the appropriate directory:
61<variablelist>
62  <varlistentry><term>LOCEAN</term>
63  <listitem><screen>
64  <prompt>$</prompt> <userinput><command>ln</command> <option>-s</option> <parameter>/usr/home/fplod/&project;_DIR</parameter> <parameter>${HOME}/&project;_DIR</parameter></userinput>
65  </screen>
66           </listitem>
67  </varlistentry>
68</variablelist>
69      </para>
70    </sect2>
71
72
73    <sect2 xml:id="svn">
74      <title> If <link xl:href="http://subversion.tigris.org/"><application> Subversion (svn)</application></link> client is installed on your machine </title>
75      <sect3 xml:id="svn_users">
76<title> Regular users </title>
77      <para>
78The <emphasis role="bold">complete</emphasis> latest revision (source + tests data files: &szallsvn; Mb) can be checked out with the following command executed in your <envar>${HOME}</envar>:
79<screen>
80  <prompt>$</prompt> <userinput><command>svn</command> <option>checkout</option> <parameter>http://forge.ipsl.jussieu.fr/&project_svn;/svn/trunk/</parameter> <parameter>&project;_DIR</parameter></userinput>
81</screen>
82      </para>
83      </sect3>
84      <sect3 xml:id="svn_contributors">
85<title> Contributors </title>
86      <para>
87<emphasis role="bold">Contributors</emphasis> should better use the following command (and replace login by their own login):
88<screen >
89  <prompt>$</prompt> <userinput><command>svn</command> <option>checkout</option> <parameter>svn+ssh://<replaceable>login</replaceable>@forge.ipsl.jussieu.fr/ipsl/forge/projets/&project_svn;/svn/trunk/</parameter> <parameter>&project;_DIR</parameter></userinput>
90</screen>
91      </para>
92      </sect3>
93    </sect2>
94
95
96<!-- ++ not yet
97    <sect2 xml:id="tar">
98      <title> Get <application>&project;</application> from a tar file </title>
99      <sect3 xml:id="src_tar">
100<title> Get <application>&project;</application> source files (&szsrc; Mb) </title>
101<para>
102  Create your <filename class='directory'>${HOME}/&project;_DIR</filename> directory &hellip;
103  <screen>
104  <prompt>$</prompt> <userinput><command>cd</command> <parameter>${HOME}</parameter></userinput>
105  <prompt>$</prompt> <userinput><command>mkdir</command> <parameter>&project;_DIR</parameter></userinput>
106  <prompt>$</prompt> <userinput><command>cd</command> <parameter>&project;_DIR</parameter></userinput>
107  </screen>
108         </para>
109         <para>
110  &hellip; and download it the latest version of the sources tar file: <link xl:href="http://forge.ipsl.jussieu.fr/&project_svn;/download/&project;_SRC_&date;.tar.gz">&project;_SRC_&date;.tar.gz</link> (&szsrc; Mb).
111</para>
112<para>
113This tar.gz file could also be downloaded with <command>wget</command> or <command>curl</command>
114<variablelist>
115  <varlistentry><term><command>wget</command></term>
116  <listitem><screen>
117  <prompt>$</prompt> <userinput><command>wget</command> <parameter>http://forge.ipsl.jussieu.fr/&project_svn;/download/&project;_SRC_&date;.tar.gz</parameter></userinput>
118  </screen>
119           </listitem>
120  </varlistentry>
121  <varlistentry><term><command>curl</command></term>
122  <listitem><screen>
123  <prompt>$</prompt> <userinput><command>curl</command> <option>-O</option> <parameter>http://forge.ipsl.jussieu.fr/&project_svn;/download/&project;_SRC_&date;.tar.gz</parameter></userinput>
124  </screen>
125           </listitem>
126  </varlistentry>
127</variablelist>
128Untar the file
129<screen>
130  <prompt>$</prompt> <userinput><command>cd</command> <parameter>${HOME}/&project;_DIR</parameter></userinput>
131  <prompt>$</prompt> <userinput><command>tar</command> <option>xvfz</option> <parameter>&project;_SRC_&date;.tar.gz</parameter></userinput>
132  <prompt>$</prompt> <userinput><command>rm</command> <parameter>&project;_SRC_&date;.tar.gz</parameter></userinput>
133</screen>
134</para>
135
136      </sect3>
137      <sect3 xml:id="data_tar">
138<title> Get <application>&project;</application> tests data files (&szdata; Mb) </title>
139<para>
140If you want to use the tests programs, you need to download the data tests files (<filename>&project;_DATA_&date2;.tar.gz</filename>), you may download theses files in
141<itemizedlist>
142  <listitem>
143           <simpara><filename class='directory'>${HOME}/My_IDL</filename>. This is the easiest solution but it could be inconvenient if your <envar>${HOME}</envar> disk space is limited.
144           </simpara>
145          </listitem>
146</itemizedlist>
147<screen>
148  <prompt>$</prompt> <userinput><command>cd</command> <parameter>${HOME}</parameter></userinput>
149  <prompt>$</prompt> <userinput><command>mkdir</command> <parameter><replaceable>CHOSEN_DIR</replaceable></parameter></userinput>
150  <prompt>$</prompt> <userinput><command>cd</command> <parameter><replaceable>CHOSEN_DIR</replaceable></parameter></userinput>
151</screen>
152Download <link xl:href="http://forge.ipsl.jussieu.fr/&project_svn;/download/&project;_DATA_&date2;.tar.gz">&project;_DATA_&date2;.tar.gz</link> (&szdata; Mb)
153or with <command>wget</command> or <command>curl</command> &hellip;
154<variablelist>
155  <varlistentry><term><command>wget</command></term>
156  <listitem><screen>
157  <prompt>$</prompt> <userinput><command>wget</command> <parameter>http://forge.ipsl.jussieu.fr/&project_svn;/download/&project;_DATA_&date2;.tar.gz</parameter></userinput>
158   </screen>
159           </listitem>
160  </varlistentry>
161  <varlistentry><term><command>curl</command></term>
162  <listitem><screen>
163  <prompt>$</prompt> <userinput><command>curl</command> <option>-O</option> <parameter>http://forge.ipsl.jussieu.fr/&project_svn;/download/&project;_DATA_&date2;.tar.gz</parameter></userinput>
164  </screen>
165            </listitem>
166  </varlistentry>
167</variablelist>
168</para>
169      </sect3>
170    </sect2>
171-->
172  </sect1>
173<sect1 xml:id="afterget">
174<title>After this</title>
175<para>
176You are now ready to do your
177<link xl:href="./firststeps.html">First steps with &project;</link>.
178</para>
179</sect1>
180</article>
Note: See TracBrowser for help on using the repository browser.