next up previous contents
Next: Setting up the FreeMat Up: Getting Started Previous: Getting Started   Contents

Installing FreeMat from Source

For Linux and other Unix-like systems, installation of FreeMat should be pretty straightforward. Assuming that you have a reasonable system setup, the following build instructions should work. First unpack the source tar file:
   tar xvfz FreeMat-1.10.tar.gz
or using
   gunzip FreeMat-1.10.tar.gz
   tar -xvf FreeMat-1.10.tar
This will create a new directory FreeMat-1.10 containing all the FreeMat files. Next we configure the source code (this step customizes the code for your environment). From the FreeMat-1.10 directory, run configure:
  ./configure --prefix=<mydir>
where <mydir> is the directory under which FreeMat will be installed. The default installation directory is /usr/local but this requires administrator priviledges. The simplest solution is to use your own home directory, such as:
   ./configure --prefix=/home/username
In this case, FreeMat will be installed in /home/username. Then, again from the FreeMat-1.10 directory, perform a make and a make install:
   make
   make install
Once installation is complete you must set up your FreeMat path (see Subsection 1.1.2).



Samit K. Basu 2005-03-16