Unpacking and Installation Instructions for Mathematica Add-On Packages |
|||
Installation of Mathematica Add-On Packages requires a prior installation
of Mathematica.
The term Mathematica Installation Directory
refers to the directory/folder where Mathematica is installed
on your computer (or on a network server).
Mathematica's $TopDirectory variable gives you this Installation Directory.
The term Application Directory
refers to a specific subdirectory inside the
Mathematica Installation Directory
where add-on packages should be installed.
This is typically named
The term Package Directory
refers to a subdirectory of your Application Directory,
where the package will be installed.
The name of this subdirectory is taken from the name of
the package you have downloaded,
such as
We assume that you downloaded the archive and put it into a temporary
location.
We will refer to the archive file as Installation consists of four steps:
1. Determine where to install the packageThe recommended Package Directory is inside the AddOns/Applications directory inside your Mathematica Installation Directory. The Mathematica Installation Directory was chosen when you installed Mathematica. Although it could be any directory, it is customarily found in one of these places (depending on your operating system).
$TopDirectory variable gives you this Installation Directory.
Inside your Mathematica Installation Directory there should be a
subdirectory AddOns, and inside AddOns there should be a subdirectory
Applications.
This directory is the recommended Application Directory.
If you look at the variable 2. Unpack the archiveThe details of unpacking the archive depend on the archive format you chose and the available programs for unpacking such archives. In each case, successfull unpacking will create a directory inside your Applications Directory, named after the package you downloaded.
After successfull unpacking of the archive, you no longer need the compressed archive you downloaded. 3. Verify the installStart Mathematica and enter the following input in a notebook<<PackageName`Test`where PackageName is the abbreviated name of your package; this is the name of the Package Directory inside the Application directory that was created when you unpacked the archive, such as QRStreams for the QR Streams package,
Parallel for the Parallel Computing Toolkit.
If all is well, you should see the following output from Mathematica: Your Application Package is correctly installed in Package Directorywhere Package Directory
is the full pathname of the directory where you installed the package.
If Mathematica's output is Get::noopen: Cannot open PackageName`Test`then the directory where you installed to package (if any) was not found by Mathematica. Please compare the full pathname of the installation directory with the value of Mathematica's $Path
variable.
One of the directories given in the list should contain your Package
Directory.
Please double check filenames and move the Package Directory to
the correct place, if necessary.
4. Finish upYou should now rebuild Mathematica's help index so that the on-line help for the newly installed package will become available in Mathematica's Help Browser. Choose the menu itemHelp>Rebuild Help Index.
Rebuilding the help index may take some time.
After it is complete, the help browser should open and you can
choose the Add-ons category.
Your new package should be listed in the leftmost scrolling list.
The Tutorial is a good starting point for your reading. Installation SupportRegistered customers can obtain installation support through our Web-based support tool. |
|
© 1998 MathConsult Dr. R. Mäder |
||