I recommend using the latest and greatest version of emacs, which can be had from [Damien Cassou's PPA](https://launchpad.net/~cassou/+archive/emacs). To install, just add the ppa, update, and install:
If you are on a 32-bit system, all you need to do is install the `mit-scheme` package from the ubuntu repository:
sudo apt-get install mit-scheme
#### 64-bit Ubuntu
If you are on a 64-bit system, you'll need to find a 64-bit package. Lucky for us, the folks at the University of Minnesota [have one available we can use](https://wiki.umn.edu/CSCI1901/InstallingMITScheme):
The 64-bit package installs mit scheme as `mit-scheme-x86-64`, so to launch it using the more familiar `mit-scheme` and `scheme` commands, we'll symlink it:
I use [Homebrew](http://brew.sh) for my emacs install since most of the other ones for Mac OS X have annoyed me in one way or another so here's how I set that up.
7. To run scheme in emacs do `M-x run-scheme` You need to make sure your emacs knows to use `/usr/local/bin` for a path and has setup the `MITSCHEME_LIBRARY_PATH` you should see something like this:
MIT/GNU Scheme running under MacOSX
Type `^C' (control-C) followed by `H' to obtain information about interrupts.
Copyright (C) 2011 Massachusetts Institute of Technology
This is free software; see the source for copying conditions. There is NO warranty; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Image saved on Tuesday November 8, 2011 at 10:45:46 PM
8. To run it from the command line and enter the REPL just run `scheme` again assuming your bash knows to use /usr/local/bin as part of it's path. `^D` to exit the REPL. You should see the same thing as above but not in an emacs buffer.
* [How to run scheme with Emacs?](http://stackoverflow.com/questions/4259894/how-to-run-scheme-with-emacs)
* [some question and info on emacs Path](http://stackoverflow.com/questions/2266905/emacs-is-ignoring-my-path-when-it-runs-a-compile-command/2566945#2566945)