How To Install ecl on Debian 10

Learn how to install ecl on Debian 10 with this tutorial. ecl is Embeddable Common-Lisp

Introduction

In this tutorial we learn how to install ecl on Debian 10.

What is ecl

ecl is:

ECL stands for Embeddable Common-Lisp. The ECL project is an effort to modernize Giuseppe Attardi’s ECL environment to produce an implementation of the Common-Lisp language which complies to the ANSI X3J13 definition of the language.

The current ECL implementation features:

  • A bytecodes compiler and interpreter.
  • A translator to C.
  • A UFFI-compatible interface to C code.
  • A dynamic loader.
  • The possibility to build standalone executables and DLLs.
  • The Common-Lisp Object System (CLOS).
  • Conditions and restarts for handling errors.
  • Sockets as ordinary streams.
  • The GNU Multiprecision library for fast bignum operations.
  • A simple conservative mark & sweep garbage collector.
  • The Boehm-Weiser garbage collector.

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

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

sudo apt-get update

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

sudo apt-get -y install ecl

Install ecl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ecl

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

sudo aptitude -y install ecl

How To Uninstall ecl on Debian 10

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

sudo apt-get remove ecl

Uninstall ecl And Its Dependencies

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

sudo apt-get -y autoremove ecl

Remove ecl Configurations and Data

To remove ecl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge ecl

Remove ecl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ecl

Dependencies

ecl have the following dependencies:

References

Summary

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