How To Install cl-swank on Debian 10

Learn how to install cl-swank on Debian 10 with this tutorial. cl-swank is Superior Lisp Interaction Mode for Emacs (Lisp-side server)

Introduction

In this tutorial we learn how to install cl-swank on Debian 10.

What is cl-swank

cl-swank is:

SLIME is the Superior Lisp Interaction Mode for Emacs.

SLIME extends Emacs with support for interactive programming in Common Lisp. The features are centered around slime-mode, an Emacs minor-mode that complements the standard lisp-mode. While lisp-mode supports editing Lisp source files, slime-mode adds support for interacting with a running Common Lisp process for compilation, debugging, documentation lookup, and so on.

The slime-mode programming environment follows the example of Emacs??s native Emacs Lisp environment. It also includes good ideas from similar systems (such as ILISP) and some new ideas.

SLIME is compatible with the following free Common Lisp implementations: CMUCL, SBCL, CCL, CLISP, ECL, ABCL.

This package contains the Lisp-side server, needed by the Emacs client (see package slime).

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

Install cl-swank Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cl-swank

Install cl-swank Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-swank

Install cl-swank 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 cl-swank using aptitude by running the following command:

sudo aptitude -y install cl-swank

How To Uninstall cl-swank on Debian 10

To uninstall only the cl-swank package we can use the following command:

sudo apt-get remove cl-swank

Uninstall cl-swank And Its Dependencies

To uninstall cl-swank and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove cl-swank

Remove cl-swank Configurations and Data

To remove cl-swank configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge cl-swank

Remove cl-swank configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cl-swank

Dependencies

cl-swank have the following dependencies:

References

Summary

In this tutorial we learn how to install cl-swank package on Debian 10 using different package management tools: apt, apt-get and aptitude.