ecl-config command not found

In this troubleshooting guide we learn how to fix ecl-config command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ecl-config: command not found

or when using sudo you get the following error message

sudo: ecl-config: command not found

Solutions to ecl-config: command not found

How To Fix ecl-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ecl-config is provided by ecl package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ecl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ecl.

sudo apt -y install ecl

Or if you have aptitude installed you can use the following command.

sudo aptitude install ecl

Summary

In this tutorial we learn how to fix ecl-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.