How To Install cl-iterate on Debian 10

Learn how to install cl-iterate on Debian 10 with this tutorial. cl-iterate is Jonathan Amsterdams Common Lisp iterator/gatherer/accumulator facility

Introduction

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

What is cl-iterate

cl-iterate is:

iterate is an iteration construct for Common Lisp. It is similar to the CL:LOOP macro, with these distinguishing marks:

it is extensible, it helps editors like Emacs indent iterate forms by having a more lisp-like syntax, and it isn’t part of the ANSI standard for Common Lisp (which is sometimes a bad thing and sometimes good).

There are three methods to install cl-iterate 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-iterate 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-iterate using apt-get by running the following command:

sudo apt-get -y install cl-iterate

Install cl-iterate Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-iterate

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

sudo aptitude -y install cl-iterate

How To Uninstall cl-iterate on Debian 10

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

sudo apt-get remove cl-iterate

Uninstall cl-iterate And Its Dependencies

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

sudo apt-get -y autoremove cl-iterate

Remove cl-iterate Configurations and Data

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

sudo apt-get -y purge cl-iterate

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

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

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

Dependencies

cl-iterate have the following dependencies:

References

Summary

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