All files will be installed in the subdirectory structure /usr/local/scmutils. The mechanics system has several parts:
One part is the Scheme system itself. We provide a Scheme system as part of this distribution. It will install itself so as to not interfere with any other Scheme you may currently have. The installation will install a script named mechanics in /usr/local/bin that invokes the Scheme system that runs the mechanics system.
The other part is Scmutils, the numerical and algebraic packages, written in Scheme, that we will use for the mechanics work.
Download the system (a TAR file, compressed with gzip) into a temporary directory of your choice. You can get an appropriate tarball from this directory. The file you want is something that looks like scmutils-20150730-x86-64-gnu-linux.tar.gz. The long number is the date it was made. The AMDx86-64 or x86-64 is for 64-bit pc architecture machines running GNU/Linux, and the ix86 is for 32-bit pc architecture machines running GNU/Linux. Your file is about 30 megabytes long. (There are also some MIT/GNU scheme system files that start mit-scheme. These are not needed for our class.)
Be sure you are logged in with root privileges.
If your system does not have a directory /usr/local, you
will need to create one. Then
execute the command
tar -xvzf [your-tarball.tar.gz]
The command line to start the Scheme mechanics system is
(If /usr/local/bin is on your search path you need not specify the whole path.)
If everything seems to work you can now remove the tarball.
Note: We have tested this Scheme system under Debian GNU/Linux, Ubuntu GNU/Linux, and Mac OS X. If these will not work for you, you can ask for help, but note that we know nothing about MS Windows.
Useful documents are included in the /usr/local/scmutils/manual/ subdirectory that will be unpacked with the tar file. Scheme sources for the entire system are included in the /usr/local/scmutils/src/ subdirectory.
The main interface to the system is edwin, an Emacs18 implemented in Scheme. If you are not familiar with Emacs you SHOULD run the tutorial, which can be accessed in edwin by holding down the control key and typing h, then, releasing the control key, type t. (C-h t)
Note that this is all free software, as defined by the GNU General Public License. Also, this is all software developed for education and research at MIT. This code is not carefully tested so it may have errors. We hope that it can help you, but we make no warranty.
Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2008, 2009, 2010, 2011, 2012, 2013, 2014 by Massachusetts Institute of Technology.
All rights reserved.
Last modified: 27 August 2008.