How To Install cmucl-source on Kali Linux

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

Introduction

In this tutorial we learn how to install cmucl-source on Kali Linux.

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 Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux

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 Kali Linux, 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 Kali Linux 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 Kali Linux using different package management tools: apt, apt-get and aptitude.