1 | <!--
|
---|
2 | //-----------------------------------------------------------
|
---|
3 | // Copyright Christian Arnault LAL-Orsay CNRS
|
---|
4 | // arnault@lal.in2p3.fr
|
---|
5 | // See the complete license in cmt_license.txt "http://www.cecill.info".
|
---|
6 | //-----------------------------------------------------------
|
---|
7 | -->
|
---|
8 |
|
---|
9 | <center><h1><b>Install</b></h1></center>
|
---|
10 |
|
---|
11 | <br>
|
---|
12 |
|
---|
13 | <hr>
|
---|
14 | <h2>On Unix platforms</h2>
|
---|
15 | <blockquote>
|
---|
16 | First download the <a href="download.html">source distribution kit, as
|
---|
17 | follows:</a>.
|
---|
18 |
|
---|
19 | <blockquote>
|
---|
20 | <pre>
|
---|
21 | > cd <some root>
|
---|
22 | > wget http://www.cmtsite.org/v1r<nn>p<xxx>/CMTv1r<nn>p<xxx>.tar.gz
|
---|
23 | > tar xzf CMTv1r<nn>p<xxx>.tar.gz
|
---|
24 | </pre>
|
---|
25 | </blockquote>
|
---|
26 |
|
---|
27 | <p>This results in a directory structure like:
|
---|
28 |
|
---|
29 | <blockquote>
|
---|
30 | <pre>
|
---|
31 | <some root>/CMT/v1r<nn>p<xxx>/...
|
---|
32 | </pre>
|
---|
33 | </blockquote>
|
---|
34 |
|
---|
35 | Then, you have to perform the installation by running:
|
---|
36 |
|
---|
37 | <blockquote>
|
---|
38 | <pre>
|
---|
39 | unix> cd <some root>/CMT/v1r<nn>p<xxx>/mgr
|
---|
40 | unix> ./INSTALL
|
---|
41 | unix> source setup.[c]sh
|
---|
42 |
|
---|
43 | or
|
---|
44 |
|
---|
45 | dos> cd <some root>\CMT\v1r<nn>p<xxx>\mgr
|
---|
46 | dos> call INSTALL.bat
|
---|
47 | dos> call setup.bat
|
---|
48 |
|
---|
49 | </pre>
|
---|
50 | </blockquote>
|
---|
51 |
|
---|
52 | <p>At this stage, you may either <i>build</i> CMT yourself, or fetch
|
---|
53 | from the <a href="download.html">download page</a> some of the
|
---|
54 | prebuilt binaries (note that even if you select to get one of the
|
---|
55 | prebuilt binaries, you always have to first download the source
|
---|
56 | kit).</p>
|
---|
57 |
|
---|
58 | <blockquote>
|
---|
59 | <pre>
|
---|
60 | unix> source setup.[c]sh
|
---|
61 | unix> [g]make
|
---|
62 |
|
---|
63 | or
|
---|
64 |
|
---|
65 | dos> call setup.bat
|
---|
66 | dos> nmake /f nmake
|
---|
67 |
|
---|
68 | </pre>
|
---|
69 | </blockquote>
|
---|
70 |
|
---|
71 | Then CMT is installed, and read to be used. Users have then to
|
---|
72 | connect to CMT by doing:
|
---|
73 |
|
---|
74 | <blockquote>
|
---|
75 | <pre>
|
---|
76 |
|
---|
77 | unix-csh> source <some root>/CMT/v1r<nn>p<xxx>/mgr/setup.csh
|
---|
78 |
|
---|
79 | or
|
---|
80 |
|
---|
81 | unix-sh> . <some root>/CMT/v1r<nn>p<xxx>/mgr/setup.sh
|
---|
82 |
|
---|
83 | or
|
---|
84 |
|
---|
85 | dos> call <some root>\CMT\v1r<nn>p<xxx>\mgr\setup.bat
|
---|
86 | </pre>
|
---|
87 | </blockquote>
|
---|
88 |
|
---|
89 |
|
---|
90 | </blockquote>
|
---|
91 |
|
---|
92 | <hr>
|
---|
93 | <h2>On Redhat Linux platforms</h2>
|
---|
94 |
|
---|
95 | <blockquote>
|
---|
96 | <p>
|
---|
97 | For those platforms, a binary RPM is available. The installation procedure becomes:
|
---|
98 |
|
---|
99 | <blockquote>
|
---|
100 | <pre>
|
---|
101 | > wget http://www.cmtsite.org/v1r<nn>p<xxx>/CMT-v1r<nn>p<xxx>-1.i386.rpm
|
---|
102 | > rpm -Uvh --relocate /CMT=<some root>/CMT CMT-v1r<nn>p<xxx>-1.i386.rpm
|
---|
103 | > source <some root>/CMT/v1r<nn>p<xxx>/mgr/setup.[c]sh
|
---|
104 | </pre>
|
---|
105 | </blockquote>
|
---|
106 |
|
---|
107 | Once the installation is complete, CMT is ready to use.
|
---|
108 |
|
---|
109 | </p>
|
---|
110 | </blockquote>
|
---|
111 |
|
---|
112 | <hr>
|
---|
113 | <h2>On Windows platforms</h2>
|
---|
114 |
|
---|
115 | <blockquote>
|
---|
116 |
|
---|
117 | <P>
|
---|
118 | Some of the global configuration parameters for CMT <i>may</i>
|
---|
119 | optionally be installed as Windows registry entries (although the
|
---|
120 | environment variables style of definitions is fully supported). This
|
---|
121 | can be done using the <tt>install.exe</tt> facility available from
|
---|
122 | the download page or using the standard RegEdit facility : </P>
|
---|
123 |
|
---|
124 | <UL>
|
---|
125 |
|
---|
126 | <LI>
|
---|
127 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/root</tt> will contain the root
|
---|
128 | directory where CMT is installed (eg. "e:").
|
---|
129 | </LI>
|
---|
130 |
|
---|
131 | <LI>
|
---|
132 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/version</tt> will contain the
|
---|
133 | current version tag of CMT ("v1r16" for this version).
|
---|
134 | </LI>
|
---|
135 |
|
---|
136 | <LI>
|
---|
137 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/path/</tt> may
|
---|
138 | optionally contain a set of text values corresponding to the
|
---|
139 | different package global access paths (similar to the
|
---|
140 | CMTPATH environment variable.
|
---|
141 | </LI>
|
---|
142 |
|
---|
143 | <LI>
|
---|
144 | <tt>HKEY_CURRENT_USER/Software/CMT/path/</tt> may contain a
|
---|
145 | set of text values corresponding to the different package
|
---|
146 | private access paths (complementary to the latter).
|
---|
147 | </LI>
|
---|
148 |
|
---|
149 | </UL>
|
---|
150 | </blockquote>
|
---|
151 |
|
---|
152 | <hr>
|
---|