SourceCode
This directory contains occasional source releases. Tarfiles available here may eventually be deleted, but they will not be changed; they don't have to be changed, because the names of the files now incorporate the subversion release number as well as the Macaulay2 version number.
- Macaulay2-1.3.1-r9872-src.tar.bz2 (3757093 bytes) [2009 November 24 20:30 GMT]
- Macaulay2-1.3-r9810-src.tar.bz2 (3537310 bytes) [2009 November 24 20:27 GMT]
- Macaulay2-1.2-r8438-src.tar.bz2 (3198159 bytes) [2009 February 14 16:58 GMT]
- Macaulay2-1.2-src-fat-fink.tar.bz2 (4075415 bytes) [2009 February 12 6:50 GMT]
- Macaulay2-1.2-src.tar.bz2 (3193337 bytes) [2009 February 12 23:12 GMT]
- Macaulay2-1.1-src.tar.gz (3284984 bytes) [2008 May 9 18:04 GMT]
- Macaulay2-1.0-src.tar.gz (3243716 bytes) [2008 January 17 15:16 GMT]
- Macaulay2-0.9.95-src.tar.gz (2977851 bytes) [2006 November 15 17:48 GMT]
- Macaulay2-0.9.20-src.tar.gz (5499341 bytes) [2006 July 15 18:29 GMT]
- Macaulay2-0.9.2-src.tar.gz (1562476 bytes) [2002 January 30 15:18 GMT]
- Macaulay2-0.8.99-porting-src.tar.gz (3222223 bytes) [2001 January 25 20:13 GMT]
- Macaulay2-0.8.60-porting-src.tar.gz (2280161 bytes) [2000 April 24 2:05 GMT]
However, the best way to get the source code is with a client for "subversion", the source code control system we use. To get the very latest version of the source code, possibly with bugs, run this command in a new directory:
svn co -q svn://macaulay2.math.uiuc.edu/Macaulay2/trunk/M2
The result will be a directory named M2 containing the source code directory tree of Macaulay2.
Alternatively, as we work to port the latest numbered release to various architectures, we will work in one of the branches listed by this command:
svn list svn://macaulay2.math.uiuc.edu/Macaulay2/release-branches
The changes made there will eventually be merged into the trunk. For example, to get the code corresponding to version 1.2 that is most current and thus most likely to compile for you, run this command:
svn co -q svn://macaulay2.math.uiuc.edu/Macaulay2/release-branches/1.2
The resulting directory tree, 1.2, can be renamed to M2, for example.
To see what stable (unchanging) releases there are, run this:
svn list svn://macaulay2.math.uiuc.edu/Macaulay2/stable
To check out one of those, do something like this:
svn co -q svn://macaulay2.math.uiuc.edu/Macaulay2/stable/2006-11-05-0.9.95
The resulting directory tree, 2006-11-05-0.9.95, can be renamed, to M2, for example.
After getting the source code as described above, and assuming the directory is now named "M2", you may build Macaulay2 from it as follows. First do
cd M2 make
That initial step will create the "configure" script.
Then do something like
cd BUILD mkdir foo cd foo ../../configure --prefix=/usr/local --enable-downloads make make install
to compile and install the code. You may replace /usr/local by $HOME/local, for example, if you don't have root privileges. You may replace "foo" by a directory anywhere, provided you adjust the path to "configure" appropriately.
The command
../../configure --help
will explain the options can be passed to the configure script.
You may refer to the file
./INSTALL
for some more detailed instructions about this installation.