How To Install libecl21.2 on Debian 12

Learn how to install libecl21.2 on Debian 12 with this tutorial. libecl21.2 is Embeddable Common-Lisp

Introduction

In this tutorial we learn how to install libecl21.2 on Debian 12.

What is libecl21.2

libecl21.2 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.

This package contains the shared library.

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

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

sudo apt-get update

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

sudo apt-get -y install libecl21.2

Install libecl21.2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libecl21.2 using apt by running the following command:

sudo apt -y install libecl21.2

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

sudo aptitude -y install libecl21.2

How To Uninstall libecl21.2 on Debian 12

To uninstall only the libecl21.2 package we can use the following command:

sudo apt-get remove libecl21.2

Uninstall libecl21.2 And Its Dependencies

To uninstall libecl21.2 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libecl21.2

Remove libecl21.2 Configurations and Data

To remove libecl21.2 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libecl21.2

Remove libecl21.2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libecl21.2

Dependencies

libecl21.2 have the following dependencies:

References

Summary

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