Scheme Mechanics Installation for GNU/Linux or Mac OS X

Installation (requires root access)

All files will be installed in the subdirectory structure /usr/local/scmutils. The mechanics system has several parts:

The installed system requires about 50 Megabytes of disk space.

Installation instructions:

  1. 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-20130901-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.)

  2. 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 lines:
    cd /usr/local
    tar -xvzf [your-tarball.tar.gz]

  3. The command line to start the Scheme mechanics system is
    /usr/local/bin/mechanics
    (If /usr/local/bin is on your search path you need not specify the whole path.)

  4. 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.