Changes between Version 10 and Version 11 of rappture_install_linux
- Timestamp:
- Jul 11, 2012 8:18:25 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rappture_install_linux
v10 v11 12 12 '''2.''' Create the destination directory (for example /usr/local/rappture) where you would like Rappture installed: 13 13 {{{ 14 %mkdir /usr/local/rappture14 mkdir /usr/local/rappture 15 15 }}} 16 16 17 '''3.''' Unpack the tar file in the destination directory:17 '''3.''' Unpack the tar file into the destination directory: 18 18 {{{ 19 % tar -C /usr/local/rappture xvf rappture-linux-*.tar.gz 19 tar -C /usr/local/rappture xvf <tarfile> 20 20 }}} 21 where <tarfile> is the name of the tar file that your downloaded in Step #1. 21 22 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. 23 24 24 25 Edit the file {{{bin/rappture.env}}} in the destination directory. 25 26 26 27 {{{ 27 %vi /usr/local/rappture/bin/rappture.env28 vi /usr/local/rappture/bin/rappture.env 28 29 }}} 29 30 30 Change the INSTALL_RAPPTURE_DIRvariable to the location of the destination directory.31 Change the '''exec_prefix''' variable to the location of the destination directory. 31 32 32 33 {{{ 33 RAPPTURE_INSTALL_DIR=/usr/local/rappture34 exec_prefix=/usr/local/rappture 34 35 }}} 35 36 Edit the file {{{bin/rappture}}} in the destination directory.37 38 {{{39 % vi /usr/local/rappture/bin/rappture40 }}}41 42 Change the INSTALL_RAPPTURE_DIR variable to the location of the destination directory.43 44 {{{45 RAPPTURE_INSTALL_DIR=/usr/local/rappture46 }}}47 48 49 Make the same changes to the following files, also found in the bin directory:50 * rerun51 * encodedata52 * simsim53 * xmldiff54 36 55 37 '''5.''' Try running rappture. First put the Rappture {{{bin}}} directory in your command path: 56 38 [[BR]] 57 39 {{{ 58 for csh/tcsh: set path=( /usr/local/rappture/bin $path ) 59 for sh/bash: export PATH=/usr/local/rappture/bin:$PATH 40 export PATH=/usr/local/rappture/bin:$PATH 60 41 }}} 61 42 62 43 Now, run one of the examples: 63 44 {{{ 64 %cd /usr/local/rappture/examples/app-fermi/tcl65 %rappture45 cd /usr/local/rappture/examples/app-fermi/tcl 46 rappture 66 47 }}} 67 48 This should bring up a simple Fermi function simulator, built with Rappture and Tcl! … … 69 50 Try another example: 70 51 {{{ 71 %cd ../../graph72 %rappture52 cd ../../graph 53 rappture 73 54 }}} 74 55 This should bring up a simple graphing calculator, built with Rappture and Python!