How To Install slime on Kali Linux

In this tutorial we learn how to install slime on Kali Linux. slime is Superior Lisp Interaction Mode for Emacs (client)

Introduction

In this tutorial we learn how to install slime on Kali Linux.

What is slime

slime 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 Emacs client, that will connect to the Lisp-side server (see package cl-swank).

There are three methods to install slime 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 slime Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install slime

Install slime Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install slime using apt by running the following command:

sudo apt -y install slime

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

sudo aptitude -y install slime

How To Uninstall slime on Kali Linux

To uninstall only the slime package we can use the following command:

sudo apt-get remove slime

Uninstall slime And Its Dependencies

To uninstall slime and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove slime

Remove slime Configurations and Data

To remove slime configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge slime

Remove slime configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge slime

Dependencies

slime have the following dependencies:

References

Summary

In this tutorial we learn how to install slime package on Kali Linux using different package management tools: apt, apt-get and aptitude.