How To Install clisp on Debian 12
Introduction
In this tutorial we learn how to install clisp
on Debian 12.
What is clisp
clisp is:
GNU CLISP is a Common Lisp implementation. It conforms to the ANSI Common Lisp standard, and offers many extensions. It runs on all desktop operating systems (GNU and Unix systems, macOS, Windows) and is particularly memory-efficient.
It is Free Software and may be distributed under the terms of GNU GPL, while it is possible to distribute commercial proprietary applications compiled with GNU CLISP.
The user interface comes in English, German, French, Spanish, Dutch, Russian and Danish, and can be changed during run time.
GNU CLISP includes an interpreter, a compiler, a debugger, CLOS, MOP, a foreign language interface, a socket interface, i18n, fast bignums, arbitrary precision floats and more. An X11 interface is available through CLX, Garnet, CLUE/CLIO. GNU CLISP runs Maxima, ACL2 and many other Common Lisp packages.
This package contains the main CLISP executable, the link-kit, and the following modules: i18n, regexp, syscalls, readline, ASDF, rawsock, bindings/glibc.
There are three methods to install clisp
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install clisp Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install clisp
using apt-get
by running the following command:
sudo apt-get -y install clisp
Install clisp Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install clisp
using apt
by running the following command:
sudo apt -y install clisp
Install clisp 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 clisp
using aptitude
by running the following command:
sudo aptitude -y install clisp
How To Uninstall clisp on Debian 12
To uninstall only the clisp
package we can use the following command:
sudo apt-get remove clisp
Uninstall clisp And Its Dependencies
To uninstall clisp
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove clisp
Remove clisp Configurations and Data
To remove clisp
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge clisp
Remove clisp configuration, data, and all of its dependencies
We can use the following command to remove clisp
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge clisp
Dependencies
clisp have the following dependencies:
References
Summary
In this tutorial we learn how to install clisp
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.