How To Install slime on Debian 9
Introduction
In this tutorial we learn how to install slime
on Debian 9.
What is slime
slime is:
SLIME is the Superior Lisp Interaction Mode for Emacs.
This is an ILISP-like development environment intended for maximum integration with CMUCL (also works with SBCL, OpenMCL and work is ongoing on Lispworks and current CVS version of CLISP and CLISP 2.32 on Linux).
This package contains the Emacs client, that will connect to the Lisp-side server (see package cl-swank).
To connect to Common Lisp implementations not running in Debian you need the latest CVS version of slime, NOT the old slime ‘release’ version 1.2.1 or older.
There are three methods to install slime
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 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 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 slime
using aptitude
by running the following command:
sudo aptitude -y install slime
How To Uninstall slime on Debian 9
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 Debian 9, we can use the command below:
sudo apt-get -y autoremove slime
Remove slime Configurations and Data
To remove slime
configuration and data from Debian 9 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 Debian 9 using different package management tools: apt
, apt-get
and aptitude
.