A quick tutorial about the Maxima installation and compilation process under UNIX and UNIX-like systems.

If you use cross-platform http://pkgsrc.org/ pkgsrc package management system, just go and install math/maxima:

cd /usr/pkgsrc/math/maxima; make install

it does everything for you. If you don't use decent package management system, read further.

First of all, before start the compilation process, we must install some Lisp implementation in which Maxima run. Some known Lisp implementations (supported for Maxima) are: http://www.gnu.org/software/gcl/ GCL(Gnu Common Lisp), http://clisp.cons.org/ CLisp, http://sbcl.sourceforge.net/ SBCL and http://www.cons.org/cmucl/ CMUCL. If you want to know another Lisp implementations, please visit:

http://www.cliki.net/Common%20Lisp%20implementation http://www.cliki.net/Common%20Lisp%20implementation

How do you know, if you have installed a Lisp environment ?. It's easy. Test if exists some command like gcl, clisp, sblc or cl from the shell. If you are using Debian GNU/Linux or some derived distributions (like Knoppix or Ubuntu), type in the shell:

dpkg -l | grep (gcl, gcl, sbcl, cmucl, cl)

in where the elements between brackets are optional, it's mean: just put one. If you get a list with some Lisp implementation, for instance:

ii  gcl                                   2.6.7-32            GNU Common Lisp compiler

You've installed a Lisp enviroment. In another case, you can use APT or DPKG to install your favorite Lisp flavor. In Red Hat or derived distributions like Fedora or Mandriva, use:

 rpm -qa | grep (lisp, gcl, sbcl, cmucl, cl)

The procedding is the same as i've mentioned above. To install the Lisp implementation, you can use yum, sinaptic or the classic command: rpm.

In another cases, you can install the Lisp enviroment from the source code. (recommended to advanced users).

Special note to GCL:

In some cases, the binary versions of GCL Debian Package not support ANSI rules in default way. However,
in the installation package, there is an option to activate the support for ANSI rules (necessary to Maxima compilation) or across the command: dpkg-reconfigure gcl

With the Lisp implementation installed, download the Maxima source code from the web page of the project in Source Forge:

http://maxima.sourceforge.net

or from CVS, following the instructions of:

http://sourceforge.net/cvs/?group_id=4933

Remark: This instructions apply for Maxima versions equals to 5.9.1 or higher.

Extract the tarball source code:

tar xvzf maxima-(version).tar.gz

Enter into the directory created, after extraction, called maxima-(version), depends of Maxima version. If you used the CVS checkout, simply the directory is maxima.

cd maxima-(version)

In this place, run some scripts to configure our environment, compile and install Maxima (depends of method (CVS or tarball source code)):

Tarball Source Code

In the directory, run the configure program:

./configure