How To Install cmucl-source on Debian 9

In this tutorial we learn how to install cmucl-source on Debian 9. cmucl-source is CMUCL lisp sources

Introduction

In this tutorial we learn how to install cmucl-source on Debian 9.

What is cmucl-source

cmucl-source is:

These are the CMUCL sources, provided so that the debugger can show useful source information at appropriate times.

This version includes common-lisp-controller compatible replacements for defsystem, graystream, clx and hemlock.

defsystem provides a “make” type system for Lisp. This is a patched version from clocc.

Gray streams are the usual Lisp streams, but re-implemented as a Object hierarchy. Users can subclass existing classes and adapt them for their own needs.

cmucl-clx is the clx library adapted for CMUCL. clx is an interface to X11, just like xlib.

Hemlock is an emacs clone for CMUCL.

Note that this version only works in X, the tty interface is broken: the system can’t parse /etc/termcap.

To open the editor, type “(ed)”.

Note that to recompile CMUCL you need a working CMUCL system :-(

There are three methods to install cmucl-source on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cmucl-source Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cmucl-source using apt-get by running the following command:

sudo apt-get -y install cmucl-source

Install cmucl-source Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cmucl-source using apt by running the following command:

sudo apt -y install cmucl-source

Install cmucl-source Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cmucl-source using aptitude by running the following command:

sudo aptitude -y install cmucl-source

How To Uninstall cmucl-source on Debian 9

To uninstall only the cmucl-source package we can use the following command:

sudo apt-get remove cmucl-source

Uninstall cmucl-source And Its Dependencies

To uninstall cmucl-source and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove cmucl-source

Remove cmucl-source Configurations and Data

To remove cmucl-source configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge cmucl-source

Remove cmucl-source configuration, data, and all of its dependencies

We can use the following command to remove cmucl-source configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cmucl-source

Dependencies

cmucl-source have the following dependencies:

References

Summary

In this tutorial we learn how to install cmucl-source package on Debian 9 using different package management tools: apt, apt-get and aptitude.