]> Creatis software - creaToolsTools.git/blob - Linux/README.txt
redmine feature # 1708
[creaToolsTools.git] / Linux / README.txt
1
2 #######################################
3 two solution to install the creatools under Linux:
4 -- the new install script (called installscript) 
5 -- the old interactive script (menu.sh) (obsolete will disappear in a near future)
6
7
8 ===================================
9 doc for installscript
10 ===================================
11
12 -- some example:
13
14 # to configure only
15 ./installscript -gdir $HOME/work/creatools/creainstall config
16 or
17 ./installscript -cvs sdika -ncore 4 -gdir $HOME/work/creatools/creainstall config
18
19 # to configure / compile-install all packages and the creatools themselves 
20 ./installscript -cvs sdika -ncore 4 -gdir $HOME/work/creatools/creainstall all
21
22 # compile-install only one part (vtk  for example) ONCE CONFIG HAS BEEN RUN 
23 ./installscript 3rd-vtk
24
25
26
27
28 ===================================
29 doc for menu.sh
30 ===================================
31 WARNING :
32 Use always bash (never use sh!)
33
34 A) bash menu.sh
35
36 You will be prompted to say what you want to do :
37
38  Configure :........................0 
39  Install Third Party Libraries :....1 (as root)
40  Get and Install the 'CreaTools':...2
41  or
42  Get the 'CreaTools' source files :.2.1 (CVS : as user!)
43  Compile   the CreaTools :..........2.2
44  Install   the CreaTools :..........2.3
45  
46  Use compact menu :.................5
47  or
48  Use expanded menu :................5
49  Uninstall the CreaTools :..........6 
50  Help ..............................7 Help about this menu
51
52  Show some Environment Variables ...8
53  Exit :.............................9
54
55
56 B) As a user, choose 'Configure' (0)
57
58 You will be prompted to give your preferences :
59
60 "Operating System : Fedora/Ubuntu/MacOS"
61 "Number of Cores"
62 "Name of the Generation Directory"
63 "Boolean for Doc Generation : YES/NO"
64 "Where do you want to get source files from : CVS/HTML"
65
66 -> if you chose CVS: 
67 1/ you must have shared your public key on CREATIS server
68 2/ you have to set properly the CVSROOT environment variable
69 (see https://www.creatis.insa-lyon.fr/mywiki/Utiliser_CVS_avec_la_ligne_de_commande)
70
71 "CVS User name"
72 "Login 'User' name"
73 "Login 'Group' name"
74 "Build type : Release/Debug"
75 "Gdcm version : GDCM1/GDCM2"
76 "ITK version : ITK3/ITK4"
77
78 Note : Currently, only GDCM1 and ITK 3 are supported.
79
80 C)  - Exit the menu (9).
81     - Switch as root and run 'bash menu.sh'.
82     - Choose 'Install Third Party Libraries' (1).
83     - Close the terminal window.
84
85 D) - Open a new terminal window.
86    - Switch as a user.
87    - Launch 'bash menu.sh'. 
88    - Choose 'Get and Install the CreaTools source files' (2).
89    - Close the terminal window.
90
91 E) Open a new terminal window.
92    You can work, by launching creaTools.sh!