chibi-ffi command not found

In this troubleshooting guide we learn how to fix chibi-ffi command not found error message

Introduction

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

chibi-ffi: command not found

or when using sudo you get the following error message

sudo: chibi-ffi: command not found

Solutions to chibi-ffi: command not found

How To Fix chibi-ffi: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu chibi-ffi is provided by chibi-scheme package.

chibi-scheme is:

Chibi-Scheme is a really small embeddable interpreter of R7RS Scheme, intended for use as an extension and scripting language in C programs.

This package provides REPL and interpreter “chibi-scheme” as well as tools for documenting Scheme code (“chibi-doc”), generating FFI bindings (“chibi-ffi”), and managing Scheme packages (“snow-chibi”).

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

sudo apt-get -y install chibi-scheme

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

You can also use apt command to install chibi-scheme.

sudo apt -y install chibi-scheme

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

sudo aptitude install chibi-scheme

Summary

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