scheme-srfi-0 command not found

In this troubleshooting guide we learn how to fix scheme-srfi-0 command not found error message

Introduction

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

scheme-srfi-0: command not found

or when using sudo you get the following error message

sudo: scheme-srfi-0: command not found

Solutions to scheme-srfi-0: command not found

How To Fix scheme-srfi-0: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu scheme-srfi-0 is provided by gambc package.

gambc is:

The gambc package includes a Scheme interpreter and a Scheme compiler which can be used to build standalone executables. The thread system is very efficient and can support millions of concurrent processes.

The Gambit system conforms to the R4RS, R5RS and IEEE Scheme standards. The full numeric tower is implemented, including: infinite precision integers (bignums), rationals, inexact reals (floating point numbers), and complex numbers. Gambit supports a number of extensions to the standards.

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

sudo apt-get -y install gambc

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

You can also use apt command to install gambc.

sudo apt -y install gambc

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

sudo aptitude install gambc

Summary

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