How To Install cl-containers on Debian 9
Introduction
In this tutorial we learn how to install cl-containers
on Debian 9.
What is cl-containers
cl-containers is:
Common Lisp ships with a set of powerful built in data structures including the venerable list, full featured arrays, and hash-tables. CL-containers enhances and builds on these structures in two ways:
By adding containers that are not available in native Lisp (for example: binary search trees, red-black trees, sparse arrays and so on).
By providing a standard interface so that they are simpler to use and so that changing design decisions becomes significantly easier.
There are three methods to install cl-containers
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 cl-containers 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-containers
using apt-get
by running the following command:
sudo apt-get -y install cl-containers
Install cl-containers Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cl-containers
using apt
by running the following command:
sudo apt -y install cl-containers
Install cl-containers 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-containers
using aptitude
by running the following command:
sudo aptitude -y install cl-containers
How To Uninstall cl-containers on Debian 9
To uninstall only the cl-containers
package we can use the following command:
sudo apt-get remove cl-containers
Uninstall cl-containers And Its Dependencies
To uninstall cl-containers
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove cl-containers
Remove cl-containers Configurations and Data
To remove cl-containers
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge cl-containers
Remove cl-containers configuration, data, and all of its dependencies
We can use the following command to remove cl-containers
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cl-containers
Dependencies
cl-containers have the following dependencies:
References
Summary
In this tutorial we learn how to install cl-containers
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.