Install Emacs/Lisp on Ubuntu for Dr. Wyatt's Class

This document describes how to install (Gnu) Emacs with the Lisp CMUCL software suitable to use in Dr. Wyatt's classes. The target OS for the installation is:

64-bit Ubuntu 16.04 LTS Desktop
This document was last updated February 16, 2017. Virtually all aspects of the installation should go through for recent Ubuntu versions as well.


Dr. Wyatt's preferred pedagogical choice of LISP is CMUCL, which, as of the date above, provides only 32-bit version, so you'll need to install the 32-bit runtime library packages:
$ sudo apt-get install libc6-i386
Find the CMUCL tar balls you need on the release download page:
The version 21b is the one currently installed on the taz system, so we'll refer to that version for definiteness.

Look for and download these two version-based files:
From the shell, navigate to the downloads and install them in on your system within the "/usr/local" directory:
$ sudo tar xjf cmucl-21b-x86-linux.tar.bz2 -C /usr/local/
$ sudo tar xjf cmucl-21b-x86-linux.extra.tar.bz2 -C /usr/local/
This will create the following:
/usr/local/lib/cmucl/      the library files directory
/usr/local/bin/lisp        the executable file
In order to match what is expected for the EMACS installation, rename the executable:
$ cd /usr/local/bin/
$ sudo mv lisp cmucl
Confirm that cmucl is working by executing it from the shell:
$ cmucl


As of the date of this document Ubuntu uses Emacs version 24. Install it plus slime:
$ sudo apt-get install emacs slime
Emacs uses the hidden init file, ~/.emacs for personal settings. To match the taz installation, install it from here:
The ~/.Xresources provides the Emacs application default colorizations used on taz. Install it from here:
You have to log out/in to pick up the .Xresources prior to activating Emacs from the application menu.

© Robert M. Kline