1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7 # This software is governed by the CeCILL-B license under French law and
8 # abiding by the rules of distribution of free software. You can use,
9 # modify and/ or redistribute the software under the terms of the CeCILL-B
10 # license as circulated by CEA, CNRS and INRIA at the following URL
11 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
12 # or in the file LICENSE.txt.
14 # As a counterpart to the access to the source code and rights to copy,
15 # modify and redistribute granted by the license, users are provided only
16 # with a limited warranty and the software's author, the holder of the
17 # economic rights, and the successive licensors have only limited
20 # The fact that you are presently reading this means that you have had
21 # knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------
26 #######################################
27 To install the CreaTools under Linux, use installscript.
28 menu.sh is deprecated. This script should not be used. (It will disappear in a near future.)
31 ===================================
32 Documentation for installscript
33 ===================================
35 Launch 'installscript' in command line to see the list of options.
37 ===== How to Install =======
39 A. Install your ssh key: https://www.creatis.insa-lyon.fr/mywiki/SSH
40 Note: -Put your key in .ssh directory.
41 -Change de right of your
44 B. Send an email to the web master Fabrice Bellet <fabrice.bellet@creatis.insa-lyon.fr>
45 to be include in the DataBase-GIT of Creatools.
51 .....That's all :-).....
56 ======= Update creatools =======
57 ./installscript creatools
64 ==========================================
65 ==========================================
66 ==========================================
69 Exemples of differents configurations :
72 ./installscript config
73 You can check the configuration in scripts/CreaTools-configure.sh
79 ./installscript creatools
85 ==========================================
86 ==========================================
87 ==========================================
90 Exemples of differents configurations :
93 ===== How to Install - HTML VERSION =======
95 ./installscript -os Fedora -ncore 8 -gdir $HOME/Creatis/creaTools -instprefix $HOME/Creatis/creaTools/creatools_install -instprefix3 $HOME/Creatis/creaTools/thirdparty_install -html -build Release config
101 ./installscript creatools
104 ===== How to Install - GIT VERSION =======
106 A. Install your ssh key: https://www.creatis.insa-lyon.fr/mywiki/SSH
107 Note: -Put your key in .ssh directory.
108 -Change de right of your
111 B. Send an email to the web master Fabrice Bellet <fabrice.bellet@creatis.insa-lyon.fr>
112 to be include in the DataBase-GIT of Creatools.
116 ./installscript -os Fedora -ncore 8 -gdir $HOME/Creatis/creaTools -instprefix $HOME/Creatis/creaTools/creatools_install -instprefix3 $HOME/Creatis/creaTools/thirdparty_install -git -build Release config
122 ./installscript creatools
129 ====================================
137 ./installscript -gdir $HOME/Creatis/All/creainstall config
139 ./installscript -git -ncore 4 -gdir $HOME/Creatis/All/creainstall config
142 # to configure / compile-install all packages and the creatools themselves
143 ./installscript -git -ncore 4 -gdir $HOME/work/creatools/creainstall all
145 # compile-install only one part (vtk for example) ONCE CONFIG HAS BEEN RUN
146 ./installscript 3rd-vtk
149 -- If you choose Git:
150 You must have shared your public key on Git CREATIS server.
151 To do so, send your public SSH key to Fabrice Bellet specifying the Git repository name. You need to do it for the Git server, even if you already did it for the CVS or SVN server.
155 ===================================
156 Documentation for menu.sh
157 ===================================
159 Use always bash (never use sh!)
163 You will be prompted to say what you want to do :
165 Configure :........................0
166 Install Third Party Libraries :....1 (as root)
167 Get and Install the 'CreaTools':...2
169 Get the 'CreaTools' source files :.2.1 (GIT : as user!)
170 Compile the CreaTools :..........2.2
171 Install the CreaTools :..........2.3
173 Use compact menu :.................5
175 Use expanded menu :................5
176 Uninstall the CreaTools :..........6
177 Help ..............................7 Help about this menu
179 Show some Environment Variables ...8
180 Exit :.............................9
183 B) As a user, choose 'Configure' (0)
185 You will be prompted to give your preferences :
187 "Operating System : Fedora/Ubuntu/MacOS"
189 "Name of the Generation Directory"
190 "Boolean for Doc Generation : YES/NO"
191 "Where do you want to get source files from : GIT/HTML"
194 1/ you must have shared your public key on CREATIS server
199 "Build type : Release/Debug"
200 "Gdcm version : GDCM1/GDCM2"
201 "ITK version : ITK3/ITK4"
203 Note : Currently, only GDCM1 and ITK 3 are supported.
205 C) - Exit the menu (9).
206 - Switch as root and run 'bash menu.sh'.
207 - Choose 'Install Third Party Libraries' (1).
208 - Close the terminal window.
210 D) - Open a new terminal window.
212 - Launch 'bash menu.sh'.
213 - Choose 'Get and Install the CreaTools source files' (2).
214 - Close the terminal window.
216 E) Open a new terminal window.
217 You can work, by launching creaTools.sh!