Next: , Previous: Installation, Up: Installation


1.1 Unix Installation

We will use as an example the installation for GNU/Linux. The installation for other unix systems is similar.

MIT/GNU Scheme is distributed as a compressed `tar' file. The tar file contains two directories, called bin and lib. The bin directory contains two executable files, scheme and bchscheme. The lib directory contains one subdirectory, lib/mit-scheme, that Scheme uses while it is executing.

The goal of the installation is to put the executable files in a directory where they will be executed as commands, and to put the library files in some convenient place where Scheme can find them.

There are two ways to install this software: the conventional way in /usr/local, and the alternative way, in locations of your choice. We encourage you to install this software in /usr/local if possible.

To install the software in /usr/local, execute the following commands, substituting for version the version of Scheme you wish to install, or the date of the snapshot if you are installing a snapshot, and for platform the platform you are on, such as ‘ix86-gnu-linux’ or ‘ix86-apple-darwin’:

     cd /usr/local
     rm -f bin/scheme bin/bchscheme
     rm -rf lib/mit-scheme
     gzip -cd mit-scheme-version-platform.tar.gz | tar xvf -

After executing these commands, the executable files will be in /usr/local/bin, and the library files will be in /usr/local/lib/mit-scheme. No further configuration is required.

To install the files in directories of your choice: