Changes between Version 10 and Version 11 of rappture_install_linux


Ignore:
Timestamp:
Jul 11, 2012 8:18:25 AM (12 years ago)
Author:
gah
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • rappture_install_linux

    v10 v11  
    1212'''2.''' Create the destination directory (for example /usr/local/rappture) where you would like Rappture installed:
    1313{{{
    14 % mkdir /usr/local/rappture
     14mkdir /usr/local/rappture
    1515}}}
    1616
    17 '''3.''' Unpack the tar file in the destination directory:
     17'''3.''' Unpack the tar file into the destination directory:
    1818{{{
    19 % tar -C /usr/local/rappture xvf rappture-linux-*.tar.gz
     19tar -C /usr/local/rappture xvf <tarfile>
    2020}}}
     21where <tarfile> is the name of the tar file that your downloaded in Step #1.
    2122
    22 '''4.''' Edit the "rappture.env" and "rappture" file to indicate where you installed Rappture.
     23'''4.''' Edit the '''rappture.env''' file to indicate where you installed Rappture.
    2324
    2425Edit the file {{{bin/rappture.env}}} in the destination directory.
    2526
    2627{{{
    27 % vi /usr/local/rappture/bin/rappture.env
     28vi /usr/local/rappture/bin/rappture.env
    2829}}}
    2930
    30 Change the INSTALL_RAPPTURE_DIR variable to the location of the destination directory.
     31Change the '''exec_prefix''' variable to the location of the destination directory.
    3132
    3233{{{
    33   RAPPTURE_INSTALL_DIR=/usr/local/rappture
     34exec_prefix=/usr/local/rappture
    3435}}}
    35 
    36 Edit the file {{{bin/rappture}}} in the destination directory.
    37 
    38 {{{
    39 % vi /usr/local/rappture/bin/rappture
    40 }}}
    41 
    42 Change the INSTALL_RAPPTURE_DIR variable to the location of the destination directory.
    43 
    44 {{{
    45   RAPPTURE_INSTALL_DIR=/usr/local/rappture
    46 }}}
    47 
    48 
    49 Make the same changes to the following files, also found in the bin directory:
    50  * rerun
    51  * encodedata
    52  * simsim
    53  * xmldiff
    5436
    5537'''5.''' Try running rappture.  First put the Rappture {{{bin}}} directory in your command path:
    5638[[BR]]
    5739{{{
    58 for csh/tcsh:  set path=( /usr/local/rappture/bin $path )
    59 for sh/bash:   export PATH=/usr/local/rappture/bin:$PATH
     40export PATH=/usr/local/rappture/bin:$PATH
    6041}}}
    6142
    6243Now, run one of the examples:
    6344{{{
    64 % cd /usr/local/rappture/examples/app-fermi/tcl
    65 % rappture
     45cd /usr/local/rappture/examples/app-fermi/tcl
     46rappture
    6647}}}
    6748This should bring up a simple Fermi function simulator, built with Rappture and Tcl!
     
    6950Try another example:
    7051{{{
    71 % cd ../../graph
    72 % rappture
     52cd ../../graph
     53rappture
    7354}}}
    7455This should bring up a simple graphing calculator, built with Rappture and Python!