Revision 1400 trunk/docs/install/QuickStartUnix.txt

QuickStartUnix.txt (revision 1400)
25 25

  
26 26
2. **Download** ADMB
27 27

  
28
   To get the most current code, download from directly from 
29
   ADMB version control using the command below.
28
       To get the most current code, download from directly from 
29
       ADMB version control using the command below.
30 30

  
31
       [~]$ svn checkout http://www.admb-project.org/svn/trunk admb
31
           [~]$ svn checkout http://www.admb-project.org/svn/trunk admb
32 32

  
33
   This will download admb trunk folder to _~/admb/_.
33
       This will download admb trunk folder to _~/admb/_.
34 34

  
35
   If **unable** to checkout, download [ADMB source distribution](download).
36
 
37
   [download]: http://www.admb-project.org/buildbot/snapshots/admb-latest.zip
35
       If **unable** to checkout, download [ADMB source distribution](http://www.admb-project.org/buildbot/snapshots/admb-latest.zip).
38 36

  
39
   Use the command below to extract to _~/admb/_. 
37
       Use the command below to extract to _~/admb/_. 
40 38

  
41
       [~]$ unzip admb.zip
39
           [~]$ unzip admb.zip
42 40

  
43 41
3. Change to admb directory
44 42

  
45
       [~]$ cd admb
43
           [~]$ cd admb
46 44

  
47 45
4. **Build** ADMB
48 46

  
49
   To build ADMB, use the commands below.
47
       To build ADMB, use the commands below.
50 48

  
51
       [~/admb/]$ make
49
           [~/admb/]$ make
52 50

  
53
   _**Note**: ADMB will be built in ~/admb/build/dist/._
51
       _**Note**: ADMB will be built in ~/admb/build/dist/._
54 52

  
55
   If debug symbols are needed, use the commands below.
53
       If debug symbols are needed, use the commands below.
56 54

  
57
       [~/admb/]$ make debug
55
           [~/admb/]$ make debug
58 56

  
59 57
5. **Use** ADMB
60 58

  
61
   The following commands build and run the simple example.
59
       The following commands build and run the simple example.
62 60

  
63
       [~/admb/]$ cd examples/admb/simple
64
       [~/admb/examples/admb/simple/]$ ~/admb/admb simple.tpl
65
       [~/admb/examples/admb/simple/]$ ./simple
61
           [~/admb/]$ cd examples/admb/simple
62
           [~/admb/examples/admb/simple/]$ ~/admb/admb simple.tpl
63
           [~/admb/examples/admb/simple/]$ ./simple
66 64

  
67 65
6. **[OPTIONAL]** Installation
68 66

  
69
   Avoids the need the to include path with the admb script.
67
       Avoids the need the to include path with the admb script.
70 68

  
71
   Copy entire distribution folder.
69
       Copy entire distribution folder.
72 70

  
73
       [~]$ sudo cp -Rvf admb /usr/local/admb
71
           [~]$ sudo cp -Rvf admb /usr/local/admb
74 72

  
75
   Create symlink to main admb script.  Directory _/usr/local/bin/_ should 
76
   already exist.
73
       Create symlink to main admb script.  Directory _/usr/local/bin/_ should already exist.
77 74

  
78
       [~]$ sudo ln -sf /usr/local/admb/admb /usr/local/bin/admb
75
           [~]$ sudo ln -sf /usr/local/admb/admb /usr/local/bin/admb
79 76

  
80
   After copying, build and run the simple example.
77
       After copying, build and run the simple example.
81 78

  
82
       [~]$ cd admb/examples/admb/simple
83
       [~/admb/examples/admb/simple/]$ admb simple.tpl
84
       [~/admb/examples/admb/simple/]$ ./simple
79
           [~]$ cd admb/examples/admb/simple
80
           [~/admb/examples/admb/simple/]$ admb simple.tpl
81
           [~/admb/examples/admb/simple/]$ ./simple
85 82

  
86 83
--------------------------------------------------------------------------------
87 84
For help and support, email <users@admb-project.org>.

Also available in: Unified diff