sbcl command not found

In this troubleshooting guide we learn how to fix sbcl command not found error message

Introduction

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

sbcl: command not found

or when using sudo you get the following error message

sudo: sbcl: command not found

Solutions to sbcl: command not found

How To Fix sbcl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sbcl is provided by sbcl package.

sbcl is:

SBCL is a development environment for the ANSI Common Lisp language. It provides a native-code compiler and an integrated debugger, as well as all the features in the ANSI specification.

SBCL also contains other extensions to the ANSI specification, including a foreign-function interface, a pseudo-server API, user-extensible stream functionality, a Meta-Object Protocol, and an ability to run external processes.

To browse SBCL source definitions with development environments, install the sbcl-source package. For documentation on SBCL’s usage and internals, the package sbcl-doc is provided.

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

sudo apt-get -y install sbcl

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

You can also use apt command to install sbcl.

sudo apt -y install sbcl

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

sudo aptitude install sbcl

Summary

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