|Version 6 (modified by gah, 8 years ago) (diff)|
Installing Rappture on Mac OS X Systems
The following are instructions describe how to install the precompiled binary packages of Rappture on Mac OS X 10.5 systems. Please note the following:
You need to have X11 installed on your Mac before running Rappture.
The precompiled binaries are 32-bit built under Mac OS X 10.5 (leopard). If you have an older system or a 64-bit system, you will need to compile Rappture for your system. Those instructions are here.
1. Download the tar file that is correct for your architecture.
For PowerPC MacOSX systems: -- (0MB)
For Intel MacOSX systems: rappture-Darwin-i386-20120712.tar.gz (56MB)
2. Create the destination directory (for example /usr/local/rappture) where you would like Rappture installed:
% mkdir /usr/local/rappture
3. Unpack the tar file in the destination directory:
% tar -C /usr/local/rappture xvf rappture-linux-*.tar.gz
4. Edit the "rappture.env" file to indicate where you installed Rappture.
Edit the file bin/rappture.env in the destination directory.
% vi /usr/local/rappture/bin/rappture.env
Change the INSTALL_RAPPTURE_DIR variable to the location of the destination directory.
5. Try running rappture. First put the Rappture bin directory in your command path:
for csh/tcsh: set path=( /usr/local/rappture/bin $path ) for sh/bash: export PATH=/usr/local/rappture/bin:$PATH
Now, run one of the examples. Note: you need to have write permission in these directories.
% cd /usr/local/rappture/examples/app-fermi/tcl % rappture
This should bring up a simple Fermi function simulator, built with Rappture and Tcl!
Try another example:
% cd ../../graph % rappture
This should bring up a simple graphing calculator, built with Rappture and Python!
If this fails
If you have problems with the binary package, you also can try building Rappture for you system. See the instructions here.